Subject: bin/14074: Simple expression core dumps sed
To: None <gnats-bugs@gnats.netbsd.org>
From: None <proff@iq.org>
List: netbsd-bugs
Date: 09/27/2001 02:39:48
>Number: 14074
>Category: bin
>Synopsis: Simple expression core dumps sed
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Sep 26 09:40:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Julian Assange
>Release: <NetBSD-current source date> NetBSD-current circa Sep 9
>Organization:
>Environment:
:/usr/src/usr.bin/sed$ ls -al
total 172
drwxr-xr-x 4 src src 512 Sep 9 19:03 .
drwxr-xr-x 210 src src 4096 Sep 2 20:45 ..
drwxr-xr-x 2 src src 512 Jan 13 2001 CVS
-rw-r--r-- 1 src src 174 Jan 10 1997 Makefile
-rw-r--r-- 1 src src 8135 Jan 10 1997 POSIX
drwxr-xr-x 3 src src 512 Jan 10 1997 TEST
-rw-r--r-- 1 src src 19188 Dec 20 1998 compile.c
-rw-r--r-- 1 src src 4673 Jan 10 1997 defs.h
-rw-r--r-- 1 src src 2857 Jan 13 2001 extern.h
-rw-r--r-- 1 src src 8335 Oct 21 1997 main.c
-rw-r--r-- 1 src src 3865 Oct 21 1997 misc.c
-rw-r--r-- 1 src src 15562 Nov 10 1999 process.c
-rw-r--r-- 1 src src 14180 Dec 24 1998 sed.1
System: NetBSD evil.net 1.5X NetBSD 1.5X (SUBURBIA) #7: Sun Sep 9 21:17:43 EST 2001 root@evil.net:/orb/s/netbsd/usr/src/sys/arch/i386/compile/EVIL i386
Architecture: i386
Machine: i386
>Description:
sed core-dumps
>How-To-Repeat:
$ sed '/doing/,$g;D'
doing
nothing
Segmentation fault (core dumped)
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: