Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Apr 2001 08:51:25 -0700 (PDT)
From:      fjoe@newst.net
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/26572: 'xtermset -T' dumps core when /etc/malloc.conf -> AJ
Message-ID:  <200104141551.f3EFpPb66231@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         26572
>Category:       ports
>Synopsis:       'xtermset -T' dumps core when /etc/malloc.conf -> AJ
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 14 09:00:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Max Khon
>Release:        4.3-BETA
>Organization:
Plesk, Inc.
>Environment:
FreeBSD lark 4.3-BETA FreeBSD 4.3-BETA #1: Thu Apr 12 00:12:49 NOVST 2001     fjoe@lark:/usr/obj/usr/src/sys/alf  i386

>Description:
'xtermset -T' dumps core when /etc/malloc.conf -> AJ
>How-To-Repeat:
1) ln -s AJ /etc/malloc.conf
2) cd /usr/ports/x11/xtermset; make install clean
3) xtermset -T foo
>Fix:
Put this patch to /usr/ports/x11/xtermset/files/patch-aa

--- src/arguments.c.orig        Sat Apr 14 20:52:59 2001
+++ src/arguments.c     Sat Apr 14 20:53:31 2001
@@ -62,8 +62,9 @@
    current = first;
 
    while(current!=NULL) {
+      argument *next = current->next;
       free(current);
-      current=current->next;
+      current = next;
    }
 }

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104141551.f3EFpPb66231>