libavcodec/bmp_parser.c: fix a use_of_uninitialized_value in target_dec_fuzzer.
authorThierry Foucu <tfoucu@gmail.com>
Thu, 4 Jun 2020 20:03:27 +0000 (13:03 -0700)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 5 Jun 2020 22:25:00 +0000 (00:25 +0200)
commita1a85579e304d5aa6e41324e41603e2d20b93df3
treecbba61a77b46b8b8ae6330989b48285f19bc0729
parent3dc24b3379fc4f9210dee7617accc5ef43879025
libavcodec/bmp_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
bmp parser cannot combine the frame, the poutbuf is not set.

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