-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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: address recent coverity warnings #52647
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Michael Dawson <midawson@redhat.com>
nodejs-github-bot
added
c++
Issues and PRs that require attention from people who are familiar with C++.
needs-ci
PRs that need a full CI run.
quic
Issues and PRs related to the QUIC implementation / HTTP/3.
labels
Apr 22, 2024
This is an example of the recent warnings that showed up: 85QuicError QuicError::ForTransport(error_code code, std::string reason) {
1. move: reason is moved (indicated by std::move(reason)).
286 QuicError error(std::move(reason));
CID 362781: (#1 of 1): Using a moved object (USE_AFTER_MOVE)
2. use_after_move: reason is used after it has been already moved.
287 ngtcp2_ccerr_set_transport_error(
288 &error.error_, code, error.reason_c_str(), reason.length());
289 return error;
290} |
@nodejs/quic FYI |
vmoroz
approved these changes
Apr 22, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Currently quic cctest is failing on Windows. Hopefully this PR must fix them. |
github-actions
bot
removed
the
request-ci
Add this label to start a Jenkins CI on a PR.
label
Apr 23, 2024
jasnell
approved these changes
Apr 27, 2024
mertcanaltin
approved these changes
Apr 28, 2024
mhdawson
added a commit
that referenced
this pull request
Apr 29, 2024
Signed-off-by: Michael Dawson <midawson@redhat.com> PR-URL: #52647 Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Landed in d2ebaaa |
aduh95
pushed a commit
that referenced
this pull request
Apr 30, 2024
Signed-off-by: Michael Dawson <midawson@redhat.com> PR-URL: #52647 Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Ch3nYuY
pushed a commit
to Ch3nYuY/node
that referenced
this pull request
May 8, 2024
Signed-off-by: Michael Dawson <midawson@redhat.com> PR-URL: nodejs#52647 Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com> Reviewed-By: James M Snell <jasnell@gmail.com>
marco-ippolito
added
backport-blocked-v20.x
PRs that should land on the v20.x-staging branch but are blocked by another PR's pending backport.
dont-land-on-v20.x
PRs that should not land on the v20.x-staging branch and should not be released in v20.x.
and removed
backport-blocked-v20.x
PRs that should land on the v20.x-staging branch but are blocked by another PR's pending backport.
labels
May 21, 2024
eliphazbouye
pushed a commit
to eliphazbouye/node
that referenced
this pull request
Jun 20, 2024
Signed-off-by: Michael Dawson <midawson@redhat.com> PR-URL: nodejs#52647 Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com> Reviewed-By: James M Snell <jasnell@gmail.com>
bmeck
pushed a commit
to bmeck/node
that referenced
this pull request
Jun 22, 2024
Signed-off-by: Michael Dawson <midawson@redhat.com> PR-URL: nodejs#52647 Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
c++
Issues and PRs that require attention from people who are familiar with C++.
dont-land-on-v20.x
PRs that should not land on the v20.x-staging branch and should not be released in v20.x.
needs-ci
PRs that need a full CI run.
quic
Issues and PRs related to the QUIC implementation / HTTP/3.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.