diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2017-06-08 13:44:32 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-07-19 15:26:36 +0200 |
commit | 50c2ef91d34138a94dad46c6c7c367852dbd7df6 (patch) | |
tree | 91737c976e66c396d9de7c17aa663cb73525959c /libavcodec/ac3dec_fixed.c | |
parent | 20f5e2c17785ef84db565e658420faf6f8ca0807 (diff) | |
download | ffmpeg-50c2ef91d34138a94dad46c6c7c367852dbd7df6.tar.gz |
avcodec/ac3dec_fixed: Fix multiple runtime error: signed integer overflow: -39271008 * 59 cannot be represented in type 'int'
Fixes: 2113/clusterfuzz-testcase-minimized-6510704959946752
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 4e3ab1a5c12fe3a88f44b734d3f2e25f4769ec47)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/ac3dec_fixed.c')
-rw-r--r-- | libavcodec/ac3dec_fixed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3dec_fixed.c b/libavcodec/ac3dec_fixed.c index 5a868e4abf..9a6d7a08b1 100644 --- a/libavcodec/ac3dec_fixed.c +++ b/libavcodec/ac3dec_fixed.c @@ -65,7 +65,7 @@ static void scale_coefs ( int len) { int i, shift, round; - int16_t mul; + unsigned mul; int temp, temp1, temp2, temp3, temp4, temp5, temp6, temp7; mul = (dynrng & 0x1f) + 0x20; |