Browse Source

applehttp: Avoid reading uninitialized memory

Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n0.10
Martin Storsjö 13 years ago
parent
commit
c41b9842ce
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/applehttp.c

+ 1
- 1
libavformat/applehttp.c View File

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


Loading…
Cancel
Save