avcodec/pngdec: Check trns more completely
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 4 Feb 2017 11:24:14 +0000 (12:24 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 4 Feb 2017 12:22:29 +0000 (13:22 +0100)
commite477f09d0b3619f3d29173b2cd593e17e2d1978e
treebb71f16e677606a4003b1269e2123faa11a0b96d
parent084f3addda7531a22d656b769120c6453e880226
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>
libavcodec/pngdec.c