From 2b0b08b74c614cca8443399d667223b99cbc036f Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 24 Apr 2015 14:59:21 +0200 Subject: [PATCH] xmptag: fix invalid reads in GST_DEBUG statement Don't try to print a string that is not NUL-terminated. This log line does not really seem useful so let's just drop it. https://bugzilla.gnome.org/show_bug.cgi?id=748413 --- gst-libs/gst/tag/gstxmptag.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gst-libs/gst/tag/gstxmptag.c b/gst-libs/gst/tag/gstxmptag.c index 57c104d8c4..52112a0431 100644 --- a/gst-libs/gst/tag/gstxmptag.c +++ b/gst-libs/gst/tag/gstxmptag.c @@ -1237,7 +1237,6 @@ gst_tag_list_from_xmp_buffer (GstBuffer * buffer) if (len < max_ft_len) goto missing_footer; - GST_DEBUG ("checking footer: [%s]", &xps[len - max_ft_len]); xp2 = g_strstr_len (&xps[len - max_ft_len], max_ft_len, "