Subject: Notification: incoming/883

From: [email-masked]
Date: Tue, 30 Apr 2002 21:28:17 -0500

FVWM Bug Tracking notification

new message incoming/883

Message summary for PR#883
	From: [email-masked]
	Subject: FIX long window title crashes many modules (e.g. FvwmPager)
	Date: Tue, 30 Apr 2002 21:28:16 -0500
	0 replies 	0 followups

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

>From [email-masked] Tue Apr 30 21:28:17 2002
From: [email-masked]
To: [email-masked]
Subject: FIX long window title crashes many modules (e.g. FvwmPager)
Date: Tue, 30 Apr 2002 21:28:16 -0500

Full_Name: Mikhail Kruk
Version: 2.4.7
CVS_Date: 
OS: FreeBSD 4.5-STABLE
X_Server: XFree 4
Submission from: (NULL) (4.64.200.87)

*** module_interface.c  Mon Apr 29 03:40:57 2002
--- module_interface.c.orig     Mon Apr 29 03:25:24 2002
***************
*** 1101,1108 ****
    *len =
      FvwmPacketHeaderSize + num + (strlen(name) / sizeof(unsigned long)) +
1;
    /* truncate long packets */
!   if (*len > FvwmPacketMaxSize)
!     *len = FvwmPacketMaxSize;
  
    body = (unsigned long *)safemalloc(*len * sizeof(unsigned long));
    body[*len-1] = 0; /* Zero out end of memory to avoid uninit memory
access. */
--- 1101,1108 ----
    *len =
      FvwmPacketHeaderSize + num + (strlen(name) / sizeof(unsigned long)) +
1;
    /* truncate long packets */
!   if (*len > FvwmPacketMaxSize_byte)
!     *len = FvwmPacketMaxSize_byte;
  
    body = (unsigned long *)safemalloc(*len * sizeof(unsigned long));
    body[*len-1] = 0; /* Zero out end of memory to avoid uninit memory
access. */

--
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]