mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-27 02:52:25 +08:00
applehttp: Avoid reading uninitialized memory
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
@ -204,7 +204,7 @@ static int parse_playlist(AppleHTTPContext *c, const char *url,
|
|||||||
enum KeyType key_type = KEY_NONE;
|
enum KeyType key_type = KEY_NONE;
|
||||||
uint8_t iv[16] = "";
|
uint8_t iv[16] = "";
|
||||||
int has_iv = 0;
|
int has_iv = 0;
|
||||||
char key[MAX_URL_SIZE];
|
char key[MAX_URL_SIZE] = "";
|
||||||
char line[1024];
|
char line[1024];
|
||||||
const char *ptr;
|
const char *ptr;
|
||||||
int close_in = 0;
|
int close_in = 0;
|
||||||
|
Reference in New Issue
Block a user