aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpeg12data.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-10-03 17:35:58 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-12-21 04:40:04 +0100
commit0b99a18ebc4109574ae4a619ba3716208d367e70 (patch)
treeb2ab82f581f740ccf5c3c737e476b0b977b7030e /libavcodec/mpeg12data.c
parentaa17021e812eb2527033d85ba0390cc4f7d6c9d5 (diff)
downloadffmpeg-0b99a18ebc4109574ae4a619ba3716208d367e70.tar.gz
avcodec/pngdec: Check bits per pixel before setting monoblack pixel format
Fixes out of array accesses Fixes: asan_heap-oob_14dbfcf_4_asan_heap-oob_1ce5767_179_add_method_small.png Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 3e2b745020c2dbf0201fe7df3dad9e7e0b2e1bb6) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpeg12data.c')
0 files changed, 0 insertions, 0 deletions