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,buffer: evaluate THROW_AND_RETURN_IF_OOB() expression only once #41945

Merged
merged 1 commit into from
Feb 17, 2022

Commits on Feb 12, 2022

  1. src,buffer: evaluate THROW_AND_RETURN_IF_OOB() expression only once

    There's no need to evaluate the expression passed into the macro more
    than once.
    
    Fixes: nodejs#41935
    Signed-off-by: Darshan Sen <[email protected]>
    RaisinTen committed Feb 12, 2022
    Configuration menu
    Copy the full SHA
    b357ed1 View commit details
    Browse the repository at this point in the history