diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-10-03 17:35:58 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-12 00:47:04 +0100 |
commit | 7a5590ef4282e19d48d70cba0bc4628c13ec6fd8 (patch) | |
tree | 9be353e3d28d9e866f3f1a79d612d96daab33039 /doc | |
parent | 73962e677d871fa0dde5385ee04ea07c048d8864 (diff) | |
download | ffmpeg-7a5590ef4282e19d48d70cba0bc4628c13ec6fd8.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)
Conflicts:
libavcodec/pngdec.c
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions