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

safer access to memory regions during merge #13

Merged
merged 1 commit into from
May 26, 2022

Conversation

mschoch
Copy link
Member

@mschoch mschoch commented May 26, 2022

No description provided.

@mschoch mschoch requested review from tmm1 and voldyman May 26, 2022 15:42
@mschoch
Copy link
Member Author

mschoch commented May 26, 2022

We are scanning through arbitrarily sized buffers, and sometime we expect a varint. That could take from 1-10 bytes, but we have to guard against the end of the buffer as well.

@mschoch mschoch mentioned this pull request May 26, 2022
@mschoch mschoch merged commit d830a81 into master May 26, 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

Successfully merging this pull request may close these issues.

2 participants