diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2021-08-06 16:54:00 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2021-08-06 16:10:41 +0000 |
commit | 6b1b7b60166c5c38ca4a0c07b98f905b6061a0a9 (patch) | |
tree | e1bdf09ab33a6f80a0f91c71665b958ffb93defb | |
parent | 34fcea0b20d58dbf0fd091a864db4ee8aa5d554c (diff) |
Fix use of uninitialized variable in mp4 metadata parser
Change-Id: Idca69e7429af13609785755d4e152d87f471c462
-rw-r--r-- | lib/rbcodec/metadata/mp4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbcodec/metadata/mp4.c b/lib/rbcodec/metadata/mp4.c index 35f4e3bfda..c20877b893 100644 --- a/lib/rbcodec/metadata/mp4.c +++ b/lib/rbcodec/metadata/mp4.c @@ -529,7 +529,7 @@ static bool read_mp4_tags(int fd, struct mp3entry* id3, { char value[TAG_VALUE_LENGTH]; char* value_p = value; - char* any; + char* any = NULL; unsigned int length = sizeof(value); read_mp4_tag_string(fd, size, &value_p, &length, &any); |