aboutsummaryrefslogtreecommitdiffstats
path: root/audio/grip
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-05-02 09:37:47 +0800
committerpat <pat@FreeBSD.org>2002-05-02 09:37:47 +0800
commit3376f3d6e933601c7347d80cbd4b1362672241fc (patch)
treec740c795ea28247fbe6233af56e166a6c83f4e51 /audio/grip
parentceb4ce0f97e911440004a8c59e9a3cbbed8573f6 (diff)
downloadfreebsd-ports-gnome-3376f3d6e933601c7347d80cbd4b1362672241fc.tar.gz
freebsd-ports-gnome-3376f3d6e933601c7347d80cbd4b1362672241fc.tar.zst
freebsd-ports-gnome-3376f3d6e933601c7347d80cbd4b1362672241fc.zip
Grip crashes on current because malloc'ed memory is not zeroed.
PR: 37652 Submitted by: maintainer Reported by: anholt
Diffstat (limited to 'audio/grip')
-rw-r--r--audio/grip/files/patch-src-grip.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/grip/files/patch-src-grip.c b/audio/grip/files/patch-src-grip.c
new file mode 100644
index 000000000000..120180592f32
--- /dev/null
+++ b/audio/grip/files/patch-src-grip.c
@@ -0,0 +1,11 @@
+--- src/grip.c.orig Wed May 1 18:30:22 2002
++++ src/grip.c Wed May 1 18:30:33 2002
+@@ -144,7 +144,7 @@
+
+ app=gnome_app_new(PACKAGE,_("Grip"));
+
+- ginfo=g_new(GripInfo,1);
++ ginfo=g_new0(GripInfo,1);
+
+ gtk_object_set_user_data(GTK_OBJECT(app),(gpointer)ginfo);
+