This repository was archived by the owner on Dec 15, 2025. It is now read-only.
Conversation
Codecov Report
@@ Coverage Diff @@
## master #410 +/- ##
=========================================
+ Coverage 81.72% 86.53% +4.8%
=========================================
Files 41 41
Lines 5029 5102 +73
=========================================
+ Hits 4110 4415 +305
+ Misses 798 551 -247
- Partials 121 136 +15
Continue to review full report at Codecov.
|
Contributor
Author
|
cc @taowen |
Contributor
Author
|
thanks! just for planning purposes, is there a target date for tagging a release that will include this? |
Contributor
Contributor
Author
|
just noticed the new tag is missing a leading |
zhenzou
pushed a commit
to zhenzou/jsoniter
that referenced
this pull request
Feb 2, 2022
Limit nesting depth
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This allows callers to limit input size to bound allocations / CPU, without needing to introspect the provided JSON to protect against internal decoder stack depth overflow.
See also https://tools.ietf.org/html/rfc7159#section-9 and golang issue 31789