avcodec/mjpegdec: Fix small picture upscale
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 29 Jun 2015 23:19:30 +0000 (01:19 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 29 Jun 2015 23:33:25 +0000 (01:33 +0200)
commit84afc6b70d24fc0bf686e43138c96cf60a9445fe
tree44e6549aba9ac00443e93b483196a392e49198a7
parentb54ac8403bfea4e7fab0799ccfe728ba76959a38
avcodec/mjpegdec: Fix small picture upscale

Fixes out of array access

Fixes: asan_heap-oob_1dd60fd_267_cov_2954683513_5baad44ca4702949724234e35c5bb341.jpg

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mjpegdec.c