diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-06-24 01:01:03 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-12-02 19:41:48 +0100 |
commit | 2a1e1bc0b59b6a91418fe7105667164752c3220c (patch) | |
tree | daa1a7eba436e28a700238e4e42b06d1c318c767 /tests/audiogen.c | |
parent | 8f5aff9e2d1bd1da7d80be66036c8a0134a7761c (diff) | |
download | ffmpeg-2a1e1bc0b59b6a91418fe7105667164752c3220c.tar.gz |
avcodec/qdm2: error out of qdm2_fft_decode_tones() before entering endless loop
Fixes: signed integer overflow: 2147483646 + 2 cannot be represented in type 'int'
Fixes: infinite loop
Fixes: 15396/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_QDM2_fuzzer-5116605501014016
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 694be24bd6c4cc9c62222f4583260bf79056e4c1)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests/audiogen.c')
0 files changed, 0 insertions, 0 deletions