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>
Mon, 19 Feb 2018 01:52:16 +0000 (02:52 +0100)
commitc6b5e80635ee1c822eff5adfc3ed3904ba70c206
tree35a089499d6d6ffff4de9d663b3db740f576ac72
parenta26ac3cc69210f14f05db70dca61ae509d7883e2
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