avcodec/pngdec: Check IHDR/IDAT order
Fixes out of array access Fixes: asan_heap-oob_20a6c26_2690_cov_3434532168_mail.png Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 79ceaf82) Conflicts: libavcodec/pngdec.c
Showing
Please
register
or
sign in
to comment