Subject: Notification: incoming/1439

From: [email-masked]
Date: Fri, 24 Sep 2004 07:59:21 -0500 (CDT)

FVWM Bug Tracking notification

new message incoming/1439

Message summary for PR#1439
	From: [email-masked]
	Subject: fvwm crashes when tearing off motif menus
	Date: Fri, 24 Sep 2004 07:59:12 -0500
	0 replies 	0 followups

====> ORIGINAL MESSAGE FOLLOWS <====

>From [email-masked] Fri Sep 24 07:59:14 2004
Date: Fri, 24 Sep 2004 07:59:12 -0500
From: [email-masked]
To: [email-masked]
Subject: fvwm crashes when tearing off motif menus

Full_Name: Carsten Prescher
Version: 2.5.10
CVS_Date: 
OS: Redhat Linux 8.0
X_Server: 4.2.0
Submission from: (NULL) (53.122.197.194)

When tearing off a menu from a motif (2.2.2) menu,
the fvwm gets a SIGSEGV in Flocale.c:2321

It seems that the reason is an uninitialized variable:

--- fvwm-2.5.10/libs/Flocale.c  2004-03-06 01:30:20.000000000 +0100
+++ fvwm-2.5.10/libs/Flocale.c.new      2004-09-24 14:42:33.000000000
+0200
@@ -2285,7 +2285,7 @@
        Status (func)(Display *, Window, XTextProperty *), Display *dpy,
        Window w, FlocaleNameString *ret_name)
 {
-       char **list;
+       char **list = 0;
        int num;
        XTextProperty text_prop;

Kind regards

Carsten

--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [email-masked].
To report problems, send mail to [email-masked]