Skip to content

Commit 2047519

Browse files
committed
mp3utils: zero8 was only 2 bytes, but 8 are dereferenced, true to the name.
1 parent b8e55ca commit 2047519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codecs/mp3utils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ static bool parse_ape(Mix_MusicMetaTags *out_tags, struct mp3file_t *src, Sint64
665665
{
666666
Uint8 buffer[APE_BUFFER_SIZE + 1];
667667
Uint32 v, i, tag_size, tag_items_count, tag_item_size;
668-
Uint32 zero8[2] = {0, 0};
668+
Uint32 zero8[8] = { 0, 0, 0, 0, 0, 0, 0, 0 };
669669
Sint64 file_size, cur_tag;
670670
size_t read_size;
671671

0 commit comments

Comments
 (0)