diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-10-03 17:35:58 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-10-04 23:52:29 +0200 |
commit | d9bef14e41a49b3ea2be407d02f0fe8d4c4a92eb (patch) | |
tree | 502e693f2f912376e871e8ce1c1701e7c8115310 /libavformat/isom.h | |
parent | 4b4ed88e892007626fb969611ef926d30ccc8b46 (diff) | |
download | ffmpeg-d9bef14e41a49b3ea2be407d02f0fe8d4c4a92eb.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 'libavformat/isom.h')
0 files changed, 0 insertions, 0 deletions