Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quic: fix error message on invalid connection ID #35026

Merged
merged 1 commit into from Sep 5, 2020
Merged

Conversation

Copy link
Member

@Trott Trott commented Sep 3, 2020

If Buffer.from() throws, it does not return a value, so the error
message is always going to report undefined. Use the value passed to
Buffer.from() instead.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@Trott Trott requested a review from as a code owner Sep 3, 2020
@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Sep 3, 2020

Review requested:

@nodejs-github-bot nodejs-github-bot added dont-land-on-v12.x dont-land-on-v14.x quic labels Sep 3, 2020
@Trott Trott added the request-ci label Sep 3, 2020
@github-actions github-actions bot removed the request-ci label Sep 3, 2020
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Sep 4, 2020

@Trott
Copy link
Member Author

@Trott Trott commented Sep 5, 2020

Landed in 1862305

@Trott Trott merged commit 1862305 into nodejs:master Sep 5, 2020
22 checks passed
@Trott Trott deleted the dcid branch Sep 5, 2020
If Buffer.from() throws, it does not return a value, so the error
message is always going to report `undefined`. Use the value passed to
Buffer.from() instead.

PR-URL: nodejs#35026
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
joesepi pushed a commit to joesepi/node that referenced this issue Jan 8, 2021
If Buffer.from() throws, it does not return a value, so the error
message is always going to report `undefined`. Use the value passed to
Buffer.from() instead.

PR-URL: nodejs#35026
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dont-land-on-v12.x dont-land-on-v14.x quic
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants