diff options
author | pat <pat@FreeBSD.org> | 2002-05-02 01:37:47 +0000 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-05-02 01:37:47 +0000 |
commit | 3376f3d6e933601c7347d80cbd4b1362672241fc (patch) | |
tree | c740c795ea28247fbe6233af56e166a6c83f4e51 /audio | |
parent | ceb4ce0f97e911440004a8c59e9a3cbbed8573f6 (diff) | |
download | FreeBSD-ports-3376f3d6e933601c7347d80cbd4b1362672241fc.zip FreeBSD-ports-3376f3d6e933601c7347d80cbd4b1362672241fc.tar.gz |
Grip crashes on current because malloc'ed memory is not zeroed.
PR: 37652
Submitted by: maintainer
Reported by: anholt
Diffstat (limited to 'audio')
-rw-r--r-- | audio/grip/files/patch-src-grip.c | 11 |
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 0000000..1201805 --- /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); + |