Date: Wed, 17 Mar 2004 17:52:02 -0800 (PST) From: Joseph Koshy <jkoshy@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/64397: [patch] fix a core dump in NMH (sortm) Message-ID: <200403180152.i2I1q2vq045025@www.freebsd.org> Resent-Message-ID: <200403180200.i2I20d9I002531@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 64397 >Category: ports >Synopsis: [patch] fix a core dump in NMH (sortm) >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 17 18:00:39 PST 2004 >Closed-Date: >Last-Modified: >Originator: Joseph Koshy >Release: 5.2.1 / 4.9 >Organization: FreeBSD >Environment: FreeBSD orthanc 4.9-STABLE FreeBSD 4.9-STABLE #0: Sat Feb 21 11:46:55 IST 2004 koshy@orthanc:/home/obj-stable/usr/src/sys/ORTHANC i386 >Description: `sortm' dumps core when sorting mailboxes. >How-To-Repeat: You need a mail with a 'Subject' line that lacks white space between the header and the content of the subject line. Like so: "Subject:my MSN account". Place this in a mailbox and run `sortm -subj'. >Fix: --- uip/sortm.c-- Thu Mar 18 00:12:19 2004 +++ uip/sortm.c Thu Mar 18 00:26:50 2004 @@ -439,8 +439,6 @@ if(uprf(cp, "re:")) cp += 2; else { - if (isalnum(c)) - *cp2++ = isupper(c) ? tolower(c) : c; break; } } >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403180152.i2I1q2vq045025>