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 unhandled BufferUnderflowException on header deserialization #1588

Conversation

AlexisSouquiere
Copy link
Collaborator

When deserializing headers a BufferUnderflowException can be thrown after unsuccessful string, long, int and short deserialization. This exception is never catched. I propose to catch it and return the value of the byte[] header in an hex string

@tchiotludo tchiotludo merged commit 81c036c into tchiotludo:dev Nov 19, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants