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

avcodec/mjpegdec: Check index in ljpeg_decode_yuv_scan() before using it


Fixes: 04715144ba237443010554be0d05343f/asan_heap-oob_1eafc76_1737_c685b48041a563461839e4e7ab97abb8.jpg
Fixes out of array access

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent fd0bf457
No related branches found
No related tags found
No related merge requests found
Loading
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