Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for issue #282 #284

Merged
merged 1 commit into from
May 3, 2016
Merged

Fix for issue #282 #284

merged 1 commit into from
May 3, 2016

Conversation

dev-zzo
Copy link
Contributor

@dev-zzo dev-zzo commented May 3, 2016

This is a squashed version of the original fixes in pull request #283. No other changes were made.

The fix limits recursion depths when parsing arrays and objects.
The limit is configurable via the `JSON_PARSER_MAX_DEPTH` setting
within `jansson_config.h` and is set by default to 2048.

Update the RFC conformance document to note the limit; the RFC
allows limits to be set by the implementation so nothing has
actually changed w.r.t. conformance state.

Reported by Gustavo Grieco.
@dev-zzo dev-zzo mentioned this pull request May 3, 2016
@coveralls
Copy link

Coverage Status

Coverage remained the same at 90.254% when pulling 64ce0ad on dev-zzo:issue-282 into 087ed94 on akheron:master.

@akheron akheron merged commit 013c389 into akheron:master May 3, 2016
@akheron
Copy link
Owner

akheron commented May 3, 2016

Merged, thanks a lot!

@dev-zzo
Copy link
Contributor Author

dev-zzo commented May 3, 2016

Was happy to help.

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.

None yet

3 participants