buffer: fix out of range for toString · nodejs/node@6b3c24d · GitHub
Skip to content

Commit 6b3c24d

Browse files
jazellytargos
authored andcommitted
buffer: fix out of range for toString
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
1 parent ae34e27 commit 6b3c24d

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

lib/buffer.js

Lines changed: 2 additions & 2 deletions

test/parallel/test-buffer-tostring-range.js

Lines changed: 9 additions & 1 deletion

0 commit comments

Comments
 (0)