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

Avoid buffer underflow in CDEF pad_into_tmp16() #2536

Merged
merged 1 commit into from
Sep 10, 2020

Conversation

barrbrain
Copy link
Collaborator

In rav1e::cdef::rust::pad_into_tmp16 while fuzzing:

AddressSanitizer: stack-buffer-underflow

The pointer into the buffer was negative-offset for alignment, but a one-stride offset is also required to ensure that writes occur within the bounds of the buffer.

In rav1e::cdef::rust::pad_into_tmp16 while fuzzing:
AddressSanitizer: stack-buffer-underflow

The pointer into the buffer was negative-offset for alignment, but
a one-stride offset is also required to ensure that writes occur
within the bounds of the buffer.
@coveralls
Copy link
Collaborator

Coverage Status

Coverage increased (+0.4%) to 80.706% when pulling 62c2066 on barrbrain:fix-stack-buffer-underflow into 2fbca40 on xiph:master.

@barrbrain barrbrain merged commit 62c2066 into xiph:master Sep 10, 2020
@barrbrain barrbrain deleted the fix-stack-buffer-underflow branch September 10, 2020 17:20
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.

None yet

3 participants