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 CBOR number encoding #465

Merged
merged 2 commits into from
Apr 4, 2023
Merged

Fix CBOR number encoding #465

merged 2 commits into from
Apr 4, 2023

Conversation

ybasket
Copy link
Collaborator

@ybasket ybasket commented Apr 1, 2023

Serialisation of CBOR numbers missed byte padding for 32 and 64-bit wide numbers, so they were not encoded in the full length and destroyed the validity of the whole stream.

Serialisation of CBOR numbers missed byte padding for 32 and 64-bit wide numbers, so they were not encoded in the full length and destroyed the validity of the whole stream.
@ybasket ybasket requested a review from a team as a code owner April 1, 2023 10:52
@satabin satabin added bug Something isn't working cbor labels Apr 4, 2023
@satabin satabin added this to the 1.7.1 milestone Apr 4, 2023
@ybasket ybasket merged commit fc9d3ca into main Apr 4, 2023
@ybasket ybasket deleted the fix/cbor-integer-padding branch April 4, 2023 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cbor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants