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

[FIXED] No panic on protobuf Unmarshal errors #338

Merged
merged 1 commit into from
Jan 8, 2021

Conversation

kozlovic
Copy link
Member

@kozlovic kozlovic commented Jan 8, 2021

Fix the Unmarshal possible overflow and also do not make the library
panic on Unmarshal errors.
We don't have a proper way to return those errors since they happen
in callbacks. For now, just printing. May add a callback error later.

Signed-off-by: Ivan Kozlovic ivan@synadia.com

Fix the Unmarshal possible overflow and also do not make the library
panic on Unmarshal errors.
We don't have a proper way to return those errors since they happen
in callbacks. For now, just printing. May add a callback error later.

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
Copy link
Member

@ColinSullivan1 ColinSullivan1 left a comment

Choose a reason for hiding this comment

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

LGTM.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.5%) to 92.848% when pulling a4f322d on no_panic_on_unmarshal_error into 22aa6ac on master.

@kozlovic kozlovic merged commit 299fe0f into master Jan 8, 2021
@kozlovic kozlovic deleted the no_panic_on_unmarshal_error branch January 8, 2021 23:07
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.

3 participants