Commit 240f8e56 authored by Johann Koenig's avatar Johann Koenig
Browse files

vp9: Fix potential SEGV in decoder_peek_si_internal

decoder_peek_si_internal could potentially read more bytes than
what actually exists in the input buffer. We check for the buffer
size to be at least 8, but we try to read up to 10 bytes in the
worst case. A well crafted file could thus cause a segfault.
Likely change that introduced this bug was:
https://chromium-review.googlesource.com/#/c/70439 (git hash:
7c43fb67)

BUG=chromium:621095

(cherry picked from commit aa1c813c)

Change-Id: Id74880cfdded44caaa45bbdbaac859c09d3db752
parent 3b3ee4a4
No related merge requests found
Showing with 48 additions and 5 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment