jpeg2000: check log2_cblk dimensions
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 24 Aug 2013 01:19:40 +0000 (03:19 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 6 Oct 2013 01:13:28 +0000 (03:13 +0200)
commit38ca79b04d9a16790be7941950152b514a237759
tree4eea353fecd422d50ecd2807f80fd202d96a2155
parent0dff3171ce102915812a3f5b42d4a865790b1b77
jpeg2000: check log2_cblk dimensions

Fixes out of array access
Fixes Ticket2895

Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 9a271a9368eaabf99e6c2046103acb33957e63b7)

Conflicts:

libavcodec/jpeg2000dec.c

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Conflicts:

libavcodec/j2kdec.c

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/j2kdec.c