Skip to content

docs: pipeline: parsers: json: document nesting depth limit - #2732

Merged
eschabell merged 1 commit into
fluent:masterfrom
eschabell:docs-json-parser-nesting-depth-5.1.3
Oct 9, 2026
Merged

eschabell merged 1 commit into
fluent:masterfrom
eschabell:docs-json-parser-nesting-depth-5.1.3

Conversation

@eschabell

@eschabell eschabell commented Sep 26, 2026 •

Copy link
Copy Markdown
Collaborator

Add a Nesting depth limit section covering the 32 level cap the JSON
parser applies when converting log entries to the internal binary
representation:

  • The outermost object counts as the first level.
  • Entries nested deeper fail to parse.
  • The rejection is silent, so such a record is indistinguishable from
    one rejected for malformed JSON.

Upstream commit 78b8e42bb bounded yyjson_val_to_msgpack(), which
recursed without a limit in v5.1.2 and earlier.

  Add a Nesting depth limit section covering the 32 level cap the JSON
  parser applies when converting log entries to the internal binary
  representation:

  - The outermost object counts as the first level.
  - Entries nested deeper fail to parse.
  - The rejection is silent, so such a record is indistinguishable from
    one rejected for malformed JSON.

  Upstream commit 78b8e42bb bounded yyjson_val_to_msgpack(), which
  recursed without a limit in v5.1.2 and earlier.

Signed-off-by: Eric D. Schabell <eric@schabell.org>
@coderabbitai

coderabbitai Bot commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 58 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ecf7382e-c353-4176-ae3b-37c87177c03c
📥 Commits

Reviewing files that changed from the base of the PR and between ca2da90 and 4dc0f1a.

📒 Files selected for processing (1)
  • pipeline/parsers/json.md
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@eschabell eschabell self-assigned this Sep 26, 2026
@eschabell eschabell added waiting-on-review Waiting on a review from mainteners 5.1.3 labels Sep 26, 2026
@eschabell

Copy link
Copy Markdown
Collaborator Author

Set as draft waiting on 5.1.3 release.

@eschabell
eschabell marked this pull request as ready for review October 6, 2026 17:59
@eschabell
eschabell requested review from a team and patrick-stephens as code owners October 6, 2026 17:59
@eschabell

Copy link
Copy Markdown
Collaborator Author

@patrick-stephens ready for review, 5.1.3 dropped.

@eschabell
eschabell merged commit 6d480be into fluent:master Oct 9, 2026
8 checks passed
@eschabell
eschabell deleted the docs-json-parser-nesting-depth-5.1.3 branch October 9, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

5.1.3 waiting-on-review Waiting on a review from mainteners

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant