projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61ad9a4
)
applehttp: Avoid reading uninitialized memory
author
Martin Storsjö
<martin@martin.st>
Wed, 14 Dec 2011 18:33:39 +0000
(20:33 +0200)
committer
Martin Storsjö
<martin@martin.st>
Wed, 14 Dec 2011 19:34:45 +0000
(21:34 +0200)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/applehttp.c
patch
|
blob
|
history
diff --git
a/libavformat/applehttp.c
b/libavformat/applehttp.c
index
7cc0499
..
19f2b20
100644
(file)
--- a/
libavformat/applehttp.c
+++ b/
libavformat/applehttp.c
@@
-204,7
+204,7
@@
static int parse_playlist(AppleHTTPContext *c, const char *url,
enum KeyType key_type = KEY_NONE;
uint8_t iv[16] = "";
int has_iv = 0;
- char key[MAX_URL_SIZE];
+ char key[MAX_URL_SIZE]
= ""
;
char line[1024];
const char *ptr;
int close_in = 0;