Skip to content

Adds a check for overflow when reading VarUInts.#773

Merged
tgregg merged 1 commit intomasterfrom
varuint-length-overflow
Mar 15, 2024
Merged

Adds a check for overflow when reading VarUInts.#773
tgregg merged 1 commit intomasterfrom
varuint-length-overflow

Conversation

@tgregg
Copy link
Contributor

@tgregg tgregg commented Mar 14, 2024

Issue #, if available:
Related: PR #705

Description of changes:
While #705 addressed the case where the length plus the current buffer index overflows a long, this PR addresses the case where the length overflows by itself.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@tgregg tgregg force-pushed the varuint-length-overflow branch from 04ccdea to dbbfae9 Compare March 15, 2024 01:38
@tgregg tgregg merged commit d33087d into master Mar 15, 2024
@tgregg tgregg deleted the varuint-length-overflow branch March 15, 2024 22:52
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.

2 participants