Skip to content

Fix nesting depth tracking in incremental parsing - #394

Open
osyvokon wants to merge 1 commit into
3Hren:masterfrom
osyvokon:fix-incremental-parsing
Open

osyvokon wants to merge 1 commit into
3Hren:masterfrom
osyvokon:fix-incremental-parsing

Conversation

@osyvokon

@osyvokon osyvokon commented Nov 9, 2026

Copy link
Copy Markdown

A nested list or map may leave the depth counter in an incorrect state (higher than expected) when reading a message incrementally. This may cause the parser to reject valid messages.

A small regression test fails without this fix.

A nested list or map may leave the depth counter in an incorrect state
(higher than expected) when reading message incrementally. This may
make the parser to reject valid messages.

A small regression test fails without this fix.
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.

1 participant