avcodec/mss3: Fix runtime error: signed integer overflow: -2146318336 - 2139696256...
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 11 May 2017 21:06:50 +0000 (23:06 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 11 May 2017 21:55:59 +0000 (23:55 +0200)
commitd05bdba2428dd0c1c5cd3426d69c712b127f996c
tree28ed90471cbd8b5613660f74387760ec51cb2c54
parent2752410c47889a94778a541c09ed29ccce8a8de9
avcodec/mss3: Fix runtime error: signed integer overflow: -2146318336 - 2139696256 cannot be represented in type 'int'

Fix is similar to rac_get_model_sym()
Fixes: 1483/clusterfuzz-testcase-minimized-6386507814273024
Fixes: 1485/clusterfuzz-testcase-minimized-6639880215986176

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