Subject: bin/11543: vi crashes easily with a botched .exrc
To: None <gnats-bugs@gnats.netbsd.org>
From: Andrew Brown <atatat@atatdot.net>
List: netbsd-bugs
Date: 11/21/2000 15:49:13
>Number:         11543
>Category:       bin
>Synopsis:       vi crashes easily with a botched .exrc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 21 15:49:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Brown
>Release:        -current from 20001109
>Organization:
none
>Environment:
	
System: NetBSD this 1.5J NetBSD 1.5J (THAT) #21: Tue Nov 14 12:10:15 GMT 2000     andrew@this:/usr/src/sys/arch/i386/compile/THAT i386

>Description:

i didn't know what the comment character was for .exrc files so i
tried a few of the more common ones such as: # ! and ;.  they all gave
me a core dump.  i later found out that the comment character was ",
as listed in the man page, but i didn't look there first.

>How-To-Repeat:

% echo . > ~/.exrc
% vi
Segmentation fault (core dumped)
% rm vi.core

>Fix:

dunno.  sorry.
>Release-Note:
>Audit-Trail:
>Unformatted: