avcodec/jpeg2000dec: Check for duplicate SIZ marker
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 13 Nov 2015 23:51:56 +0000 (00:51 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 13 Nov 2015 23:58:54 +0000 (00:58 +0100)
commit44a7f17d0b20e6f8d836b2957e3e357b639f19a2
tree873cc617e3d82a8090d1e1974b0f3ff2ab3a5d40
parentd07585f04add2448c9a8760ba263f7ac64c910c7
avcodec/jpeg2000dec: Check for duplicate SIZ marker

Fixes: 0231a17345734228011c6f35a64e4594/asan_heap-oob_1d92a72_3218_1213809a9e3affec77e4c191fdfdc0a9.mov

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/jpeg2000dec.c