buffer: use size_t instead of uint32_t to avoid segmentation fault · nodejs/node@a5d63f9 · GitHub
Skip to content

Commit a5d63f9

Browse files
Xstouditargos
authored andcommitted
buffer: use size_t instead of uint32_t to avoid segmentation fault
Fixes: #46836 PR-URL: #48033 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Minwoo Jung <nodecorelab@gmail.com> Reviewed-By: Shelley Vohr <shelley.vohr@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
1 parent 75004d3 commit a5d63f9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/string_bytes.cc

Lines changed: 3 additions & 3 deletions

0 commit comments

Comments
 (0)