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
unsigned integer overflow #499
Milestone
Comments
steed717
pushed a commit
to steed717/protobuf-c
that referenced
this issue
Mar 18, 2022
Signed-off-by: 10054172 <hui.zhang@thalesgroup.com>
|
can any review to be done with this issue ??? |
|
is this project still active??? |
|
The forum looks non-responsive - https://groups.google.com/g/protobuf-c I'm not sure who the project leads are or if they are looking for help? |
@edmonds publishes new releases |
edmonds
pushed a commit
that referenced
this issue
Jul 11, 2022
Signed-off-by: 10054172 <hui.zhang@thalesgroup.com>
edmonds
added a commit
that referenced
this issue
Jul 11, 2022
Fix issue #499: unsigned integer overflow
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug: len - pref_len will cause integer overlow.
Sugested fix below:
diff --git a/protobuf-c/protobuf-c.c b/protobuf-c/protobuf-c.c
index ad1bdb1..fe5ae91 100644
--- a/protobuf-c/protobuf-c.c
+++ b/protobuf-c/protobuf-c.c
@@ -2604,10 +2604,13 @@ parse_required_member(ScannedMember *scanned_member,
return FALSE;
The text was updated successfully, but these errors were encountered: