diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2022-02-05 20:41:08 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-03-28 23:18:55 +0200 |
commit | 0dabd7f60366f32c7ac65917639b80316e25d080 (patch) | |
tree | 52bcaf0f33dc76249a96e20214229467746bd6dc /libavformat/img2.c | |
parent | 0a5feebc5743a647712f5eac332782ca025dcc64 (diff) | |
download | ffmpeg-0dabd7f60366f32c7ac65917639b80316e25d080.tar.gz |
avcodec/jpeglsdec: Increase range for N in ls_get_code_runterm() by using unsigned
Fixes: left shift of 32768 by 16 places cannot be represented in type 'int'
Fixes: Timeout
Fixes: 44219/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SMVJPEG_fuzzer-4679455379947520
Fixes: 44088/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SMVJPEG_fuzzer-4885976600674304
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 6ee283d7d001cfcfec94a023e172bca731e96514)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/img2.c')
0 files changed, 0 insertions, 0 deletions