avcodec/ra144: Fix integer overflow in add_wav()
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 10 Oct 2018 02:25:50 +0000 (04:25 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 18 Oct 2018 00:28:54 +0000 (02:28 +0200)
commitc6282141cba20934d9801f31134872fabbd6ba3e
treed64f4b12b80ea5981b47a48b84fc95428994422f
parent079d1a7175c4b881631a7e7f449c4c13b761cdeb
avcodec/ra144: Fix integer overflow in add_wav()

Fixes: signed integer overflow: -2144033225 + -5208934 cannot be represented in type 'int'
Fixes: 10633/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RA_144_fuzzer-5679133791617024

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/ra144.c