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 large arc handling #1592

Merged
merged 1 commit into from
Nov 1, 2024
Merged

Conversation

tarcieri
Copy link
Member

@tarcieri tarcieri commented Nov 1, 2024

As originally reported in #1585

The maximum size of a serialized arc was miscomputed, since it failed to include the additional bits needed to store the LEB128 encoding.

Also adds checked arithmetic to the calculation of an arc from base 10, both fixing a clippy warning and an overflow bug.

As originally reported in #1585

The maximum size of a serialized arc was miscomputed, since it failed to
include the additional bits needed to store the LEB128 encoding.

Also adds checked arithmetic to the calculation of an arc from base 10,
both fixing a clippy warning and an overflow bug.
@tarcieri tarcieri merged commit 3ff4426 into master Nov 1, 2024
113 checks passed
@tarcieri tarcieri deleted the const-oid/fix-large-arc-handling branch November 1, 2024 19:07
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