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

const-oid: fix off-by-one error parsing large BER arcs #84

Merged
merged 1 commit into from
Oct 12, 2021

Conversation

tarcieri
Copy link
Member

Arcs are currently modeled as u32. When encoded as base 128, they can be up to 5 bytes, since the 4 preceeding bytes provide only 7-bits of the final integer value.

Arcs are currently modeled as `u32`. When encoded as base 128, they can
be up to 5 bytes, since the 4 preceeding bytes provide only 7-bits of
the final integer value.
@tarcieri tarcieri merged commit 415a426 into master Oct 12, 2021
@tarcieri tarcieri deleted the const-oid/fix-handling-of-large-ber-arcs branch October 12, 2021 14:42
@tarcieri tarcieri mentioned this pull request Oct 14, 2021
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.

None yet

1 participant