libavcodec/png_parser.c: fix a use_of_uninitialized_value in target_dec_fuzzer.
authorThierry Foucu <tfoucu@gmail.com>
Thu, 4 Jun 2020 20:03:00 +0000 (13:03 -0700)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 5 Jun 2020 22:25:00 +0000 (00:25 +0200)
commitd5422a14e2a84e4feb7124c7e4d1950fdae697aa
tree9dd1b701ecc2ed5d6c89c2c9fd9730d19efa784c
parentcf28521fee22dbe2f7eeb8ab0306c0fd0802c48a
libavcodec/png_parser.c: fix a use_of_uninitialized_value in target_dec_fuzzer.

the target_dec_fuzzer is checking for the avpkt.data pointer but if the
png parser cannot combine the frame, the poutbuf is not set.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/png_parser.c