diff options
author | Martin Storsjö <martin@martin.st> | 2011-12-14 20:33:39 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2011-12-14 21:34:45 +0200 |
commit | c41b9842ceac42bedfd74a7ba2d02add82f818a9 (patch) | |
tree | ad88849ef22b95f45a1c3c9d8f17a8e40a4637b4 | |
parent | 61ad9a4bb36960999a42a501dd7ad7dffb8b34d9 (diff) | |
download | ffmpeg-c41b9842ceac42bedfd74a7ba2d02add82f818a9.tar.gz |
applehttp: Avoid reading uninitialized memory
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r-- | libavformat/applehttp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/applehttp.c b/libavformat/applehttp.c index 7cc04999d1..19f2b203ef 100644 --- 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; |