Commit a1af74fe authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

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

https://bugzilla.gnome.org/show_bug.cgi?id=788548
parent ab87478b
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment