From: Fraxinas Date: Wed, 20 May 2009 09:22:30 +0000 (+0200) Subject: replacing instead of accumulating of tags in taglist (fixes possible buffer overflow... X-Git-Tag: 2.6.0~305^2~1 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/258b45224b4ab38d8019b8bcd9f51d5143719b4a replacing instead of accumulating of tags in taglist (fixes possible buffer overflow on streams) --- diff --git a/lib/service/servicemp3.cpp b/lib/service/servicemp3.cpp index b179da84..73a12430 100644 --- a/lib/service/servicemp3.cpp +++ b/lib/service/servicemp3.cpp @@ -1044,7 +1044,7 @@ void eServiceMP3::gstBusCall(GstBus *bus, GstMessage *msg) GstTagList *tags, *result; gst_message_parse_tag(msg, &tags); - result = gst_tag_list_merge(m_stream_tags, tags, GST_TAG_MERGE_PREPEND); + result = gst_tag_list_merge(m_stream_tags, tags, GST_TAG_MERGE_REPLACE); if (result) { if (m_stream_tags)