Skip to content
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

Fix parsing negative Int32Value that crosses segment boundary #8035

Merged

Conversation

JamesNK
Copy link
Contributor

@JamesNK JamesNK commented Nov 12, 2020

Fixes #8027

@google-cla google-cla bot added the cla: yes label Nov 12, 2020
@JamesNK
Copy link
Contributor Author

JamesNK commented Nov 12, 2020

@jtattermusch

@jtattermusch
Copy link
Contributor

Looks like the bug was originally introduced already in https://github.com/protocolbuffers/protobuf/pull/6843/files#diff-d740c4c5c32b30dbd921e0d61adac31089322bceaa2aa34b6b3020951817779eR851 (and it stayed around when moving the code to ParsingPrimitivesWrappers.cs)

@chrisdunelm since you are the author of #6843, can you please review?

@jtattermusch
Copy link
Contributor

@acozzette I believe this is a release blocker - feel free to also review.

Copy link
Contributor

@chrisdunelm chrisdunelm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@jtattermusch jtattermusch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the quick fix.

@jtattermusch jtattermusch merged commit 012fe85 into protocolbuffers:master Nov 13, 2020
This was referenced Nov 13, 2020
acozzette added a commit to acozzette/protobuf that referenced this pull request Nov 13, 2020
acozzette added a commit that referenced this pull request Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants