avcodec/jpeg2000dec: get_qcx, fix stack and heap overwrites
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 21 May 2013 21:38:26 +0000 (23:38 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 21 May 2013 22:07:45 +0000 (00:07 +0200)
commitc649ecb3b2321a8f48b6a6bca06e0156c8b38fc7
tree2b74980dcdb5b2ff7ff0756871dc62376baa04d1
parentf98dbc7311a30a30802c71571ff5e3d049ea7556
avcodec/jpeg2000dec: get_qcx, fix stack and heap overwrites

This is likely remotely exploitable
Fix ported from j2kdec
No uptodate FFmpeg release should be affected by this

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