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
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

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