]> git.sesse.net Git - ffmpeg/commit
avcodec/ffwavesynth: Fix integer overflow in computation of ddphi
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 15 Mar 2020 17:25:56 +0000 (18:25 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 18 Mar 2020 19:23:15 +0000 (20:23 +0100)
commitc85bf1631823e9089e59a474d5c6c0efc708c507
tree8f233283afffcf00bd460d89c37e6ed0ff0fc931
parent2e611cd9c042009fae49ef0f11f1086a5efd7021
avcodec/ffwavesynth: Fix integer overflow in computation of ddphi

Fixes: signed integer overflow: 1302123111085380114 - -8319005078741256972 cannot be represented in type 'long'
Fixes: 20991/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FFWAVESYNTH_fuzzer-5148554161291264
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