Skip to content

fix: reserved field inside group blocks fail parsing #2058

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

jonathan-ioffe
Copy link
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
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
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