Skip to content

ResumableParser#partial_value avoid mutating the stacks#1007

Merged
byroot merged 1 commit into
ruby:masterfrom
byroot:partial-value
Jun 15, 2026
Merged

ResumableParser#partial_value avoid mutating the stacks#1007
byroot merged 1 commit into
ruby:masterfrom
byroot:partial-value

Conversation

@byroot

@byroot byroot commented Jun 15, 2026

Copy link
Copy Markdown
Member

Fix: #1005

parser.state.frames and parser.state.value_stack need to be updated to point to the copy.

Fix: ruby#1005

`parser.state.frames` and `parser.state.value_stack` need to
be updated to point to the copy.
@byroot byroot merged commit 02346d8 into ruby:master Jun 15, 2026
42 checks passed
@byroot byroot deleted the partial-value branch June 15, 2026 14:18
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.

JSON::ResumableParser#partial_value may cause unexpected parse error

1 participant