diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-10-31 15:00:32 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-12-31 19:51:56 +0100 |
commit | 074d7c2f8dd2dbba8066d9c7585a48c8a3e213ac (patch) | |
tree | 333bc66032dc1b367250aec9b46e68c4e5c26c4b /fftools | |
parent | 3c53cdb1ad0a8f36a275fa4bf9ebef55532f87ea (diff) | |
download | ffmpeg-074d7c2f8dd2dbba8066d9c7585a48c8a3e213ac.tar.gz |
avcodec/vc1_block: Fix undefined behavior in ac prediction rescaling
The intermediates are required to fit in 12bit (8.1.3.9 Coefficient Scaling)
See SMPTE 421M-2006 and Amendment 1-2007
Fixes: signed integer overflow: -20691 * 262144 cannot be represented in type 'int'
Fixes: 18479/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VC1_fuzzer-5128912371187712
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 7fc1baf0ca83ef06014878290339a59735603959)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'fftools')
0 files changed, 0 insertions, 0 deletions