sea: reject trailing content in config JSON · nodejs/node@64a8843 · GitHub
Skip to content

Commit 64a8843

Browse files
Archkonaduh95
authored andcommitted
sea: reject trailing content in config JSON
Ensure the on-demand parser reaches the end of the document after reading the root object. Reject concatenated JSON values with TRAILING_CONTENT Signed-off-by: Archkon <180910180+Archkon@users.noreply.github.com> PR-URL: #64774 Reviewed-By: Aviv Keller <me@aviv.sh>
1 parent d8a0f28 commit 64a8843

2 files changed

Lines changed: 26 additions & 0 deletions

File tree

src/node_sea.cc

Lines changed: 8 additions & 0 deletions

test/sea/test-single-executable-blob-config-errors.js

Lines changed: 18 additions & 0 deletions

0 commit comments

Comments
 (0)