jpegls: check the scan offset
authorLuca Barbato <lu_zero@gentoo.org>
Fri, 17 May 2013 11:08:55 +0000 (13:08 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Fri, 17 May 2013 14:44:13 +0000 (16:44 +0200)
commitabad374909e6416e941351094f4f1446a71f8d23
tree7a59ce272b7c53bae7a1dcbd893b7c421d1da860
parent4a4107b48944397c914aa39ee16a82fe44db8c4c
jpegls: check the scan offset

Prevent an out of array bound write.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
libavcodec/jpeglsdec.c