aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/jpeg2000.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2019-10-31 15:00:32 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2020-07-01 12:49:26 +0200
commitec0ab97facaef59a3ae5c29c32cd77d0af48f3e9 (patch)
tree905da4c5a1d659d062d7b4d8ecf4cd6546a182b4 /libavcodec/jpeg2000.h
parent0c67877df2840bbd077e89d8350afdd96bca5a4d (diff)
downloadffmpeg-ec0ab97facaef59a3ae5c29c32cd77d0af48f3e9.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 'libavcodec/jpeg2000.h')
0 files changed, 0 insertions, 0 deletions