A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/dominictarr/JSON.sh/issues/47 below:

JSON.sh does crash when parsing numerous nested structures · Issue #47 · dominictarr/JSON.sh · GitHub

Step to reproduce

$ python -c "print('['*100000)" | ./JSON.sh 

Expected behaviour

JSON.sh should either parse the string, or return an error.

Actual behaviour

./JSON.sh: line 206: 40694 Done                    tokenize
40695 Segmentation fault: 11  | parse

JSON.sh does crash because it lacks a nesting limit.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4