src: remove TOCTOU race condition when encoding SAB-backed `Buffer`s · nodejs/node@f043013 · GitHub
Skip to content

Commit f043013

Browse files
committed
src: remove TOCTOU race condition when encoding SAB-backed Buffers
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: #63517 Refs: https://hackerone.com/reports/3752489 Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 8e75efb commit f043013

2 files changed

Lines changed: 32 additions & 8 deletions

File tree

src/encoding_binding.cc

Lines changed: 14 additions & 2 deletions

src/node_buffer.cc

Lines changed: 18 additions & 6 deletions

0 commit comments

Comments
 (0)