avcodec/pngdec: Check trns more completely
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 4 Feb 2017 11:24:14 +0000 (12:24 +0100)
committerMike Gabriel <sunweaver@debian.org>
Tue, 28 May 2019 12:14:01 +0000 (13:14 +0100)
commite5bcecfb3739ba390bb7eed4a6988a7247fc2902
tree0be23f9050124024aa114dac2e5b56313c44184f
parenta496ad7a7a1f4a62047963196d8ae853e6a13d53
avcodec/pngdec: Check trns more completely

Fixes out of array access
Fixes: 546/clusterfuzz-testcase-4809433909559296
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
[sunweaver] ported to libav in Debian jessie LTS (which only supports palette based transparency).

Gbp-Pq: Name CVE-2017-7863.patch
libavcodec/pngdec.c