avcodec/vp3: Check eob_run
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 9 Feb 2018 03:17:16 +0000 (04:17 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 12 Apr 2018 22:35:15 +0000 (00:35 +0200)
commit0df3ad79c7d8d8740693deedccf82e7c28bb60b6
treee13356e36159ce09c2f70d1817443e8018f49a01
parent65fc03589fb48ee1d24797ad3984199b01feec82
avcodec/vp3: Check eob_run

Fixes: out of array access
Fixes: 5919/clusterfuzz-testcase-minimized-5859311382167552
Fixes: special case for theora (untested due to lack of sample)

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 570023eab3e2962b4ad8345a157c1e18ca1a6eca)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/vp3.c