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>
Mon, 22 Oct 2018 23:44:41 +0000 (01:44 +0200)
commitb15db639a5caccb2f69c1b37707e09820231b5f8
treeaa31c6537b939821746c8c356fbc678beca500f6
parent6a5b0a3c751303d359876a85913f5fbbe3976a99
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>
(cherry picked from commit c6282141cba20934d9801f31134872fabbd6ba3e)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/ra144.c