Skip to content
Snippets Groups Projects
Commit 936f4a2c authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avcodec/mjpegdec: Fix integer overflow in ljpeg_decode_rgb_scan()

Fixes: signed integer overflow: 32768 + 2147450880 cannot be represented in type 'int'
Fixes: 7885/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_THP_fuzzer-5298834394578944

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg


Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent 79c6047c
No related branches found
No related tags found
No related merge requests found
Loading
  • Auri @aurieh

    mentioned in commit 4b12afcc

    ·

    mentioned in commit 4b12afcc

    Toggle commit list
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment