History

libavcodec/mlp_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 mlp parser cannot combine the frame, the poutbuf is not set.

Thierry Foucu committed 6 years ago

Commit 3dc24b31 parent d5422a11 file · +1 −0Browse files

Unified · Split

libavcodec/mlp_parser.c+1−0
@@ -64,6 +64,7 @@ static int mlp_parse(AVCodecParserContext *s, · 63 unmodified lines
6464 s->key_frame = 0;
6565
6666 *poutbuf_size = 0;
67+ *poutbuf = NULL;
6768 if (buf_size == 0)
6869 return 0;
6970

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t