Skip to content

Comments

Avoid buffer underflow in CDEF pad_into_tmp16()#2536

Merged
barrbrain merged 1 commit intoxiph:masterfrom
barrbrain:fix-stack-buffer-underflow
Sep 10, 2020
Merged

Avoid buffer underflow in CDEF pad_into_tmp16()#2536
barrbrain merged 1 commit intoxiph:masterfrom
barrbrain:fix-stack-buffer-underflow

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.

3 participants