the target_dec_fuzzer is checking for the avpkt.data pointer but if the mlp parser cannot combine the frame, the poutbuf is not set.
Unified · Split
| @@ -64,6 +64,7 @@ static int mlp_parse(AVCodecParserContext *s, · 63 unmodified lines | |||
| 64 | s->key_frame = 0; | 64 | s->key_frame = 0; |
| 65 | 65 | ||
| 66 | *poutbuf_size = 0; | 66 | *poutbuf_size = 0; |
| 67 | *poutbuf = NULL; | ||
| 67 | if (buf_size == 0) | 68 | if (buf_size == 0) |
| 68 | return 0; | 69 | return 0; |
| 69 | 70 | ||