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>
Sun, 18 Nov 2018 01:35:03 +0000 (02:35 +0100)
commita90f6d3e908b4cfff1387316131a5ac476dbb6d6
tree27e84b36b3413eb9ed451cd21b8637c935a44d32
parenta72d42b80ff4a9220cb20b2231d55ada0d6b0b3b
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