diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-11-02 15:52:52 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-12-06 20:30:58 +0100 |
commit | 6248ed92fd63664b026742ab470ef866574f0b31 (patch) | |
tree | cdba45144d39ff698a99972ec7dd22998dcfcaa3 /libavcodec/simple_idct.c | |
parent | b48dcc5613ca351db1ce5bb8f0776bd3bde52806 (diff) | |
download | ffmpeg-6248ed92fd63664b026742ab470ef866574f0b31.tar.gz |
avcodec/ralf: use multiply instead of shift to avoid undefined behavior in decode_block()
Fixes: left shift of negative value -249
Fixes: 18566/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RALF_fuzzer-5649394561187840
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 1b7d02642b2096622cee6165fea1301bb9ad54ff)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/simple_idct.c')
0 files changed, 0 insertions, 0 deletions