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>
Sun, 18 Nov 2018 01:35:03 +0000 (02:35 +0100)
commitf266eca585f0e570350cc54578c762aa8ebd86c7
tree8f46b2bfdd61413839adf38fc556253ebeaf7fc1
parent77d35ab73435a9c847f387621f066c1f98733580
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