Skip to content

Add out of bounds checks in memcpy_downward#9163

Open
paulquiring wants to merge 2 commits into
google:masterfrom
paulquiring:add_out_of_bounds_checks_in_memcpy_downward
Open

Add out of bounds checks in memcpy_downward#9163
paulquiring wants to merge 2 commits into
google:masterfrom
paulquiring:add_out_of_bounds_checks_in_memcpy_downward

Conversation

@paulquiring

Copy link
Copy Markdown

out of bounds checks in memcpy_downward are added to protect against misuse
which can lead to memory corruption

Closes: #9162

@paulquiring paulquiring requested a review from dbaileychess as a code owner July 1, 2026 15:45
@google-cla

google-cla Bot commented Jul 1, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@github-actions github-actions Bot added the c++ label Jul 1, 2026
@paulquiring paulquiring changed the title Add out of bounds checks in memcpy downward Add out of bounds checks in memcpy_downward Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Out-of-bounds memory access in memcpy_downward when in_use sizes exceed buffer sizes

1 participant