From nobody@FreeBSD.org  Mon May  2 11:54:27 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0B02E16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  2 May 2005 11:54:27 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E4FC443D58
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  2 May 2005 11:54:26 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j42BsQGs066232
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 2 May 2005 11:54:26 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j42BsQpj066231;
	Mon, 2 May 2005 11:54:26 GMT
	(envelope-from nobody)
Message-Id: <200505021154.j42BsQpj066231@www.freebsd.org>
Date: Mon, 2 May 2005 11:54:26 GMT
From: gil <pr0ggy@cox.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ispell/spell seg faults on command line parsing
X-Send-Pr-Version: www-2.3

>Number:         80536
>Category:       ports
>Synopsis:       textproc/ispell: ispell/spell seg faults on command line parsing
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lawrance
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 02 12:00:23 GMT 2005
>Closed-Date:    Sat Dec 17 11:32:40 GMT 2005
>Last-Modified:  Sat Dec 17 11:32:40 GMT 2005
>Originator:     gil
>Release:        5.3
>Organization:
pr0ger security
>Environment:
FreeBSD eXploit 5.3-RELEASE FreeBSD 5.3-RELEASE #1: Wed Apr 27 19:40:16 PDT 2005     pr0ger@eXploit.lv.cox.net:/usr/src/sys/i386/compile/BSDBOX  i386

>Description:
If you give a random option to the "spell" command in a terminal the program segmentation faults and dumps core, If you open the core file in gdb it shows that the program seg faulted at fgets(). Which this shouldnt happen...
>How-To-Repeat:
-bash-2.05b$ spell something_random_here
Segmentation fault (core dumped)
-bash-2.05b$
>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->jmz 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon May 2 22:47:55 GMT 2005 
Responsible-Changed-Why:  
Canonicalize and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80536 

From: Kris Kennaway <kris@obsecurity.org>
To: gil <pr0ggy@cox.net>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/80536: ispell/spell seg faults on command line parsing
Date: Tue, 3 May 2005 16:44:39 -0700

 On Mon, May 02, 2005 at 11:54:26AM +0000, gil wrote:
 > 
 > >Number:         80536
 > >Category:       misc
 > >Synopsis:       ispell/spell seg faults on command line parsing
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       medium
 > >Responsible:    freebsd-bugs
 > >State:          open
 > >Quarter:        
 > >Keywords:       
 > >Date-Required:
 > >Class:          sw-bug
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Mon May 02 12:00:23 GMT 2005
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     gil
 > >Release:        5.3
 > >Organization:
 > pr0ger security
 > >Environment:
 > FreeBSD eXploit 5.3-RELEASE FreeBSD 5.3-RELEASE #1: Wed Apr 27 19:40:16 PDT 2005     pr0ger@eXploit.lv.cox.net:/usr/src/sys/i386/compile/BSDBOX  i386
 > 
 > >Description:
 > If you give a random option to the "spell" command in a terminal the program segmentation faults and dumps core, If you open the core file in gdb it shows that the program seg faulted at fgets(). Which this shouldnt happen...
 > >How-To-Repeat:
 > -bash-2.05b$ spell something_random_here
 > Segmentation fault (core dumped)
 > -bash-2.05b$
 
 Please take this up with the ispell/spell developers; FreeBSD does not
 separately develop this third-party software.
 
 Kris
Responsible-Changed-From-To: jmz->lawrance 
Responsible-Changed-By: lawrance 
Responsible-Changed-When: Sat Dec 17 10:38:52 UTC 2005 
Responsible-Changed-Why:  
Problem exists due to freebsd-local patches which provide a 'spell' 
command.  I'll fix it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80536 
State-Changed-From-To: open->closed 
State-Changed-By: lawrance 
State-Changed-When: Sat Dec 17 11:32:16 UTC 2005 
State-Changed-Why:  
Fix committed, thanks for the report. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80536 
>Unformatted:
