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 blob pad #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix blob pad #51

wants to merge 1 commit into from

Conversation

edjin
Copy link

@edjin edjin commented May 23, 2024

Hi!

I found the bug while trying to decode messages containing blobs. It happens that when a blob's size is divisible by 4, 4 more bytes than required are skipped.

Decoding a blob of a size divisible by 4 skip takes add a pad of 4 bytes
instead of 0.
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.

1 participant