FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

quic: do not dereference shared_ptr after move by tniessen · Pull Request #47294 · nodejs/node · GitHub

/ node Public

quic: do not dereference shared_ptr after move - #47294

Closed
tniessen wants to merge 1 commit into
nodejs:mainfrom
tniessen:src-quic-store-move
Closed

quic: do not dereference shared_ptr after move#47294
tniessen wants to merge 1 commit into
nodejs:mainfrom
tniessen:src-quic-store-move

Conversation

Copy link
Copy Markdown
Member

The stored pointer is assumed to be nullptr after std::move.

The stored pointer is assumed to be nullptr after std::move.
tniessen added c++ Issues and PRs that require attention from people who are familiar with C++. quic Issues and PRs related to the QUIC implementation / HTTP/3. labels Mar 29, 2023
tniessen requested a review from jasnell March 29, 2023 12:08
nodejs-github-bot added dont-land-on-v14.x needs-ci PRs that need a full CI run. labels Mar 29, 2023
Comment thread src/quic/data.cc
CHECK_LE(offset_, store->ByteLength());
CHECK_LE(length_, store->ByteLength() - offset_);
CHECK_LE(offset_, store_->ByteLength());
CHECK_LE(length_, store_->ByteLength() - offset_);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

oh! ha, good catch.

jasnell added the fast-track PRs that do not need to wait for 48 hours to land. label Mar 29, 2023

Copy link
Copy Markdown
Contributor

Fast-track has been requested by @jasnell. Please 👍 to approve.

jasnell requested review from Qard and anonrig March 29, 2023 13:27
anonrig added author ready PRs that have at least one approval, no outstanding review comments, and a CI started. request-ci Add this label to start a Jenkins CI on a PR. labels Mar 29, 2023
jasnell removed the request-ci Add this label to start a Jenkins CI on a PR. label Mar 29, 2023

Copy link
Copy Markdown
Collaborator

jasnell commented Mar 29, 2023

Copy link
Copy Markdown
Member

Landed in 9b104be

jasnell pushed a commit that referenced this pull request Mar 29, 2023
The stored pointer is assumed to be nullptr after std::move.

PR-URL: #47294
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
jasnell closed this Mar 29, 2023

Copy link
Copy Markdown
Member

This PR depends on #47263 which was flagged as "dont-land-on-v19.x". Therefore, I'm adding the dont-land-x labels here too.

This file contains hidden or 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. c++ Issues and PRs that require attention from people who are familiar with C++. fast-track PRs that do not need to wait for 48 hours to land. needs-ci PRs that need a full CI run. quic Issues and PRs related to the QUIC implementation / HTTP/3.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL