diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-10-03 17:35:58 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-10-03 18:35:38 +0200 |
commit | 12c8e4021c2db6c714bc0d419820c274f19333fc (patch) | |
tree | a06a34a100d46cd2c31e0ce766f3bce48264bcdf /libavcodec/mips/compute_antialias_fixed.h | |
parent | f56095c4d7e5a76be8b114bcf427ab0becf0c635 (diff) | |
download | ffmpeg-12c8e4021c2db6c714bc0d419820c274f19333fc.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/mips/compute_antialias_fixed.h')
0 files changed, 0 insertions, 0 deletions