Skip to content

Make sure nesting arrays are compacted to avoid memory overflow#114

Open
raymondfeng wants to merge 1 commit intotj:masterfrom
raymondfeng:master
Open

Make sure nesting arrays are compacted to avoid memory overflow#114
raymondfeng wants to merge 1 commit intotj:masterfrom
raymondfeng:master

Conversation

@raymondfeng
Copy link

The PR will fix #104 in a way that is consistent with the top level array compaction.

Please note that #104 is a serious security concern as malicious input string such as foo[0][100000000] will crash the node process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nested arrays can be used to crash node.

1 participant