[v20.x backport] buffer: fix out of range for toString by jazelly · Pull Request #55213 · nodejs/node

@nodejs-github-bot added buffer

Issues and PRs related to the buffer subsystem.

needs-ci

PRs that need a full CI run.

v20.x

Issues that can be reproduced on v20.x or PRs targeting the v20.x-staging branch.

labels

Oct 1, 2024

@jazelly @targos

Co-authored-by: Michaël Zasso <targos@protonmail.com>
PR-URL: nodejs#54553
Fixes: nodejs#52298
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>

marco-ippolito pushed a commit that referenced this pull request

Nov 16, 2024
Co-authored-by: Michaël Zasso <targos@protonmail.com>
PR-URL: #54553
Backport-PR-URL: #55213
Fixes: #52298
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
Refs: #54553