avcodec/h263dec: Check slice_ret in mspeg4 slice loop
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 22 Apr 2018 19:07:45 +0000 (21:07 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 22 Oct 2018 23:44:40 +0000 (01:44 +0200)
commitaaa2d4a26523caff7246077de423d2314b7d571c
tree329de3701a4dfa3d04f59268ea8421c9a8c8b54c
parentcc8710b5afebe211a4402311d036d11b8f46510d
avcodec/h263dec: Check slice_ret in mspeg4 slice loop

Fixes infinite loop
Fixes: 6858/clusterfuzz-testcase-ffmpeg_AV_CODEC_ID_MSMPEG4V3_fuzzer-4681563766784000
Fixes: 6890/clusterfuzz-testcase-ffmpeg_AV_CODEC_ID_WMV1_fuzzer-4756103142309888

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 de841fbea7655b74a9663001e01008a86c88779a)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/h263dec.c