Skip to content

fix: reserved field inside group blocks fail parsing#2058

Merged
mkruskal-google merged 3 commits intoprotobufjs:masterfrom
jonathan-ioffe:fix-reserved-field-in-group-parse
May 7, 2025
Merged

fix: reserved field inside group blocks fail parsing#2058
mkruskal-google merged 3 commits intoprotobufjs:masterfrom
jonathan-ioffe:fix-reserved-field-in-group-parse

Conversation

@jonathan-ioffe
Copy link
Copy Markdown
Contributor

@jonathan-ioffe jonathan-ioffe commented Apr 11, 2025

Add handler to "reserved" field when parsing tokens for parseGroup.
This fixes issue #2059

@mkruskal-google
Copy link
Copy Markdown
Contributor

mkruskal-google commented May 7, 2025

This lgtm, but can you add a test case? Maybe just a bit in tests/data/uncommon.proto to lock down that this continues to work?

Edit: nvm, just added your test case from the issue :)

@mkruskal-google mkruskal-google merged commit 56782bf into protobufjs:master May 7, 2025
6 checks passed
@github-actions github-actions bot mentioned this pull request May 7, 2025
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.

2 participants