]> git.sesse.net Git - ffmpeg/commit
avcodec/ituh263dec: Make the condition for the studio slice start code match between...
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 14 Sep 2019 16:31:40 +0000 (18:31 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 28 Sep 2019 16:35:27 +0000 (18:35 +0200)
commit8335ba8ae99941422bef0e16ea8cf1ebe2e9a7b3
treef2d481d8cbdd3188dbb5074d6f27ec4b16dd707d
parentfbb314b6f2c2b77608442966f28aac20343a1cae
avcodec/ituh263dec: Make the condition for the studio slice start code match between ff_h263_resync() and ff_mpeg4_decode_studio_slice_header()

If they mismatch an infinite loop can occur
Fixes: Timeout (infinite loop)
Fixes: 17043/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEG4_fuzzer-5695051748868096
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/ituh263dec.c