]> git.sesse.net Git - ffmpeg/commit
avcodec/ffwavesynth: Fix integer overflow in wavesynth_synth_sample / WS_SINE
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 5 Sep 2020 15:58:53 +0000 (17:58 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 7 Sep 2020 21:05:25 +0000 (23:05 +0200)
commita0da95df77a528251a326fc8b7e2ff48c60e41d0
tree5c374ca38317a08fb338f8af2a458c48cd123bc1
parent98ea1a662ee172961feaa374fe8d26078838d250
avcodec/ffwavesynth: Fix integer overflow in wavesynth_synth_sample / WS_SINE

Fixes: signed integer overflow: -1429092 * -32596 cannot be represented in type 'int'
Fixes: 24419/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FFWAVESYNTH_fuzzer-5157849974702080
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/ffwavesynth.c