tag: id3v2: don't leak stack pointer outside of block where it's valid

https://bugzilla.gnome.org/show_bug.cgi?id=788548
This commit is contained in:
Tim-Philipp Müller 2018-01-19 20:43:57 +00:00
parent ab87478bdc
commit a1af74feda

View file

@ -582,7 +582,9 @@ id3v2_frames_to_tag_list (ID3TagsWorking * work, guint size)
id3v2_add_id3v2_frame_blob_to_taglist (work,
work->hdr.frame_data - frame_hdr_size, frame_hdr_size + frame_size);
}
work->frame_id = NULL; /* clear ref to loop-local storage */
}
work->hdr.frame_data += frame_size;
work->hdr.frame_data_size -= frame_size;
}