This fixes segfault in dtwm when deleting subpanel icons (bug report #29
related).
>From ad65d4a11717534fc75d181095070dab57950368 Mon Sep 17 00:00:00 2001
From: alx <a...@fastestcode.org>
Date: Mon, 24 Mar 2014 05:03:21 +0100
Subject: [PATCH] DtWidget: Don't free random pointer on Control widget
destruction
---
cde/lib/DtWidget/Control.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/cde/lib/DtWidget/Control.c b/cde/lib/DtWidget/Control.c
index 675d553..7333d1b 100644
--- a/cde/lib/DtWidget/Control.c
+++ b/cde/lib/DtWidget/Control.c
@@ -900,6 +900,7 @@ Initialize(
G_AltPix (new) = XmUNSPECIFIED_PIXMAP;
G_AltMask (new) = XmUNSPECIFIED_PIXMAP;
G_MonitorTimer (new) = 0;
+ G_FileName (new) = NULL;
}
if (G_ControlType (new) == XmCONTROL_DATE)
--
1.8.4
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel