Commit c41b9842 authored by Martin Storsjö's avatar Martin Storsjö

applehttp: Avoid reading uninitialized memory

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 61ad9a4b
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment