From aca4adbe99f0575003a9c5367ef47b3a4d6b9a32 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Wed, 30 Jun 2004 05:51:43 +0000 Subject: [PATCH] Fix a double-free crash when running gst-inspect against certain plug-ins. Reported by: bland --- multimedia/gstreamer/Makefile | 1 + multimedia/gstreamer/files/patch-tools_gst-inspect.c | 10 ++++++++++ multimedia/gstreamer80/Makefile | 1 + multimedia/gstreamer80/files/patch-tools_gst-inspect.c | 10 ++++++++++ 4 files changed, 22 insertions(+) create mode 100644 multimedia/gstreamer/files/patch-tools_gst-inspect.c create mode 100644 multimedia/gstreamer80/files/patch-tools_gst-inspect.c diff --git a/multimedia/gstreamer/Makefile b/multimedia/gstreamer/Makefile index ac18380f0dc7..f1e2c6984a3c 100644 --- a/multimedia/gstreamer/Makefile +++ b/multimedia/gstreamer/Makefile @@ -7,6 +7,7 @@ PORTNAME= gstreamer PORTVERSION= 0.8.3 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= ${MASTER_SITE_GNOME} \ http://gstreamer.freedesktop.org/src/gstreamer/ diff --git a/multimedia/gstreamer/files/patch-tools_gst-inspect.c b/multimedia/gstreamer/files/patch-tools_gst-inspect.c new file mode 100644 index 000000000000..7d50fe1ac46d --- /dev/null +++ b/multimedia/gstreamer/files/patch-tools_gst-inspect.c @@ -0,0 +1,10 @@ +--- tools/gst-inspect.c.orig Wed Jun 30 01:48:58 2004 ++++ tools/gst-inspect.c Wed Jun 30 01:49:18 2004 +@@ -799,7 +799,6 @@ + + g_free (query); + if (found_signals) { +- g_slist_foreach (found_signals, (GFunc) g_free, NULL); + g_slist_free (found_signals); + } + } diff --git a/multimedia/gstreamer80/Makefile b/multimedia/gstreamer80/Makefile index ac18380f0dc7..f1e2c6984a3c 100644 --- a/multimedia/gstreamer80/Makefile +++ b/multimedia/gstreamer80/Makefile @@ -7,6 +7,7 @@ PORTNAME= gstreamer PORTVERSION= 0.8.3 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= ${MASTER_SITE_GNOME} \ http://gstreamer.freedesktop.org/src/gstreamer/ diff --git a/multimedia/gstreamer80/files/patch-tools_gst-inspect.c b/multimedia/gstreamer80/files/patch-tools_gst-inspect.c new file mode 100644 index 000000000000..7d50fe1ac46d --- /dev/null +++ b/multimedia/gstreamer80/files/patch-tools_gst-inspect.c @@ -0,0 +1,10 @@ +--- tools/gst-inspect.c.orig Wed Jun 30 01:48:58 2004 ++++ tools/gst-inspect.c Wed Jun 30 01:49:18 2004 +@@ -799,7 +799,6 @@ + + g_free (query); + if (found_signals) { +- g_slist_foreach (found_signals, (GFunc) g_free, NULL); + g_slist_free (found_signals); + } + }