avcodec/mpegaudio_parser: Consume more than 0 bytes in case of the unsupported mp3adu...
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 28 Oct 2018 20:08:39 +0000 (21:08 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 18 Nov 2018 01:35:03 +0000 (02:35 +0100)
commit875a5d055b4ccbe9b9dabab2899ed425f73afcd3
treebb60c0eb6a0b4e05ad38d9fe9ccccb1b64e34694
parentc2af767c3e288b63eab873e60c3376b0adcb0186
avcodec/mpegaudio_parser: Consume more than 0 bytes in case of the unsupported mp3adu case

Fixes: Timeout
Fixes: 10966/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MP3ADU_fuzzer-5348695024336896
Fixes: 10969/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MP3ADUFLOAT_fuzzer-5691669402877952

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