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>
Wed, 25 Apr 2018 21:09:47 +0000 (23:09 +0200)
commitde841fbea7655b74a9663001e01008a86c88779a
tree9dce211f02512de62bf22c15aa3ecc977198d9fe
parent7562567f41aa61860ed5ab03dbb11c1316a34021
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>
libavcodec/h263dec.c