mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
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:
parent
ab87478bdc
commit
a1af74feda
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue