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

Incorrect encode of INTEGER(0..4294967295) #39

Closed
nplrkn opened this issue Aug 5, 2022 · 1 comment
Closed

Incorrect encode of INTEGER(0..4294967295) #39

nplrkn opened this issue Aug 5, 2022 · 1 comment

Comments

@nplrkn
Copy link
Contributor

nplrkn commented Aug 5, 2022

Constrained 32-bit integer length wrongly encoded in 3 bits instead of 2.

For example, INTEGER(0..4294967295) value 0x10203040 encodes to 0x6010203040 (leading bits 011) when it should be 0xC010203040 (leading bits 11).

@nplrkn nplrkn changed the title Incorrect encode of INTEGER(0....4294967295) Incorrect encode of INTEGER(0..4294967295) Aug 5, 2022
@gabhijit
Copy link
Collaborator

gabhijit commented Aug 8, 2022

Fixed by #40

@gabhijit gabhijit closed this as completed Aug 8, 2022
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

No branches or pull requests

2 participants