diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-11-02 15:52:52 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-11-21 23:43:52 +0100 |
commit | 38cfa9d5f974086721e0d501e22b3b2eb1de0712 (patch) | |
tree | 54f34933eef55d104d24735c31c14982c0591cd6 /libswscale/x86/rgb2rgb_template.c | |
parent | aca0578002d9492c998205b68263ddf443b00c53 (diff) | |
download | ffmpeg-38cfa9d5f974086721e0d501e22b3b2eb1de0712.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 'libswscale/x86/rgb2rgb_template.c')
0 files changed, 0 insertions, 0 deletions