avcodec/ra144: Fix undefined integer overflow in add_wav()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 26 Aug 2018 00:26:24 +0000 (02:26 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 22 Oct 2018 23:44:40 +0000 (01:44 +0200)
commitfceedd4de9b2ee68b718d2c895374232971d97be
treed56a9b0b814a5182df0b209b4dc31a5477a2de0e
parent23c5d8d9ce7d6e687091aafb418da560fabb22fd
avcodec/ra144: Fix undefined integer overflow in add_wav()

Fixes: signed integer overflow: -26884 * 91439 cannot be represented in type 'int'
Fixes: 9687/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RA_144_fuzzer-4995588121690112

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