Subject: bin/985: VI dumps core on d$.
To: None <gnats-admin@NetBSD.ORG>
From: None <hstroem@ed.unit.no>
List: netbsd-bugs
Date: 04/21/1995 08:20:16
>Number:         985
>Category:       bin
>Synopsis:       VI dumps core when executing command d$ on empty line
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 21 08:20:04 1995
>Originator:     Henrik Stroem
>Organization:
"	"
>Release:        1.0
>Environment:
	
System: NetBSD hood.ed.unit.no 1.0 NetBSD 1.0 (HOOD) #3: Sun Mar 26 14:52:51 MET DST 1995 jarle@hood.ed.unit.no:/usr/src/sys/arch/i386/compile/HOOD i386


>Description:
	Executing the command d$ two times (d$d$) causes VI to crash
with either 'Segmentation fault (core dumped)' or when within
/usr/bin/mail 'Fatal error in process'.
>How-To-Repeat:
	Use VI to edit a text file like /etc/rc (5KB) and press while
in command mode d$d$. The first del-to-eol will work, and the second
will cause a segmentation fault.
>Fix:
	Do not execute d$ on an empty line, and do not use dG while
inside the /usr/bin/mail program.
>Audit-Trail:
>Unformatted: