diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-11-02 15:52:52 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-01-06 11:30:44 +0100 |
commit | 4d53c962ed53d959421f00859e9707a0f5701113 (patch) | |
tree | d9bb3e775ba927d22e0611ca538df5c28c3eea76 /libavcodec/tests/mathops.c | |
parent | 7b81868a259dfc7be1f173a0693ac5ac23091f84 (diff) | |
download | ffmpeg-4d53c962ed53d959421f00859e9707a0f5701113.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/tests/mathops.c')
0 files changed, 0 insertions, 0 deletions