]> git.sesse.net Git - ffmpeg/commit
avcodec/vp3: Check for end of input in 2 places of vp4_unpack_macroblocks()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 1 Sep 2019 15:37:47 +0000 (17:37 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 2 Sep 2019 16:09:11 +0000 (18:09 +0200)
commitdaf92cc074c5e2ddd567016ac8b142cbd0add43c
treeedb2547fd5aa2076eeb4ac9d8660a9460482dc87
parentfbaa395917e169c1ef0684c657c36126db1d63a4
avcodec/vp3: Check for end of input in 2 places of vp4_unpack_macroblocks()

Fixes: Timeout (82sec -> 1sec)
Fixes: 16411/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP3_fuzzer-5166958151991296
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/vp3.c