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.
Unified · Split
| @@ -45,6 +45,7 @@ static int bmp_parse(AVCodecParserContext *s, AVCodecContext *avctx, · 44 unmodified lines | ||
| 45 | 45 | int i = 0; |
| 46 | 46 | |
| 47 | 47 | *poutbuf_size = 0; |
| 48 | + *poutbuf = NULL; | |
| 48 | 49 | |
| 49 | 50 | restart: |
| 50 | 51 | if (bpc->pc.frame_start_found <= 2+4+4) { |