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

src: remove redundant buffer size check #42257

Conversation

Copy link
Member

@tniessen tniessen commented Mar 8, 2022

This condition is already checked by the CHECK_BUFLEN_IN_RANGE macro, so if it was true here, that would contradict the previous check.

This condition is already checked by the CHECK_BUFLEN_IN_RANGE macro,
so if it was true here, that would contradict the previous check.
@nodejs-github-bot nodejs-github-bot added buffer c++ needs-ci labels Mar 8, 2022
@tniessen tniessen added the request-ci label Mar 8, 2022
@github-actions github-actions bot removed the request-ci label Mar 8, 2022
@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot
Copy link

@nodejs-github-bot nodejs-github-bot commented Mar 9, 2022

Trott
Trott approved these changes Mar 9, 2022
Copy link
Member

@Trott Trott left a comment

@tniessen tniessen added the author ready label Mar 9, 2022
@aduh95 aduh95 added the commit-queue label Mar 10, 2022
@nodejs-github-bot nodejs-github-bot added commit-queue-failed and removed commit-queue labels Mar 10, 2022
@nodejs-github-bot

This comment was marked as outdated.

@tniessen tniessen removed the commit-queue-failed label Mar 10, 2022
@richardlau richardlau added the commit-queue label Mar 10, 2022
@nodejs-github-bot nodejs-github-bot removed the commit-queue label Mar 10, 2022
@nodejs-github-bot nodejs-github-bot merged commit da79166 into nodejs:master Mar 10, 2022
68 checks passed
@nodejs-github-bot
Copy link

@nodejs-github-bot nodejs-github-bot commented Mar 10, 2022

Landed in da79166

bengl pushed a commit that referenced this issue Mar 21, 2022
This condition is already checked by the CHECK_BUFLEN_IN_RANGE macro,
so if it was true here, that would contradict the previous check.

PR-URL: #42257
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@bengl bengl mentioned this pull request Mar 21, 2022
danielleadams pushed a commit that referenced this issue Apr 21, 2022
This condition is already checked by the CHECK_BUFLEN_IN_RANGE macro,
so if it was true here, that would contradict the previous check.

PR-URL: #42257
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
danielleadams pushed a commit that referenced this issue Apr 24, 2022
This condition is already checked by the CHECK_BUFLEN_IN_RANGE macro,
so if it was true here, that would contradict the previous check.

PR-URL: #42257
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
danielleadams pushed a commit that referenced this issue Apr 24, 2022
This condition is already checked by the CHECK_BUFLEN_IN_RANGE macro,
so if it was true here, that would contradict the previous check.

PR-URL: #42257
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
danielleadams pushed a commit that referenced this issue Apr 24, 2022
This condition is already checked by the CHECK_BUFLEN_IN_RANGE macro,
so if it was true here, that would contradict the previous check.

PR-URL: #42257
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
xtx1130 pushed a commit to xtx1130/node that referenced this issue Apr 25, 2022
This condition is already checked by the CHECK_BUFLEN_IN_RANGE macro,
so if it was true here, that would contradict the previous check.

PR-URL: nodejs#42257
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.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
author ready buffer c++ needs-ci
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants