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 #1926 integer overflow in BufferReader (make total consumed 64-bit) #1928

Merged
merged 2 commits into from
Dec 13, 2021

Conversation

mgravell
Copy link
Collaborator

total consumed was int, which was causing integer overflow issues with 2GiB+ payloads, manifesting in an ArgumentOutOfRangeException in SnapshotPosition()

@mgravell mgravell merged commit a55c8be into main Dec 13, 2021
@mgravell mgravell deleted the fix1926 branch December 13, 2021 07:56
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