jpeg2000: Validate block lengthinc
authorLuca Barbato <lu_zero@gentoo.org>
Mon, 1 Jul 2013 08:01:05 +0000 (10:01 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 2 Jul 2013 18:05:44 +0000 (20:05 +0200)
commit7e201d575dc4385eb67314b0419d4d77185e65f4
treef776f0efaf0cb9ad572aaf72d4a39ed96370c5ee
parent278a923c51187d37445d88a6b21082036ec9568d
jpeg2000: Validate block lengthinc

Currently we are using an array with a static data size.

Similar to a patch with the same purpose by Michael Niedermayer.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/jpeg2000dec.c