avcodec/pngdec: Fix paeth prediction with small images
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 26 Nov 2014 16:00:17 +0000 (17:00 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 26 Nov 2014 16:01:26 +0000 (17:01 +0100)
commit9a53707e86eb066e1c77460215c716f7962c71e7
tree62652073a76ec92e4a10396ac241f20bcae10e44
parent79ceaf827be0b070675d4cd0a55c3386542defd8
avcodec/pngdec: Fix paeth prediction with small images

Fixes out of array read
Fixes: asan_heap-oob_20b0a06_1962_cov_1907976991_delete_node_small.png
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/pngdec.c