Subject: lib/30215: /bin/sh dumps core with tabcomplete
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <hira@po6.nsk.ne.jp>
List: netbsd-bugs
Date: 05/12/2005 15:11:00
>Number:         30215
>Category:       lib
>Synopsis:       /bin/sh dumps core with tabcomplete
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 12 15:11:00 +0000 2005
>Originator:     Kouichirou Hiratsuka
>Release:        NetBSD 3.99.3
>Organization:
>Environment:
System: NetBSD firefly.localdomain 3.99.3 NetBSD 3.99.3 (PBG4.current) #270: Thu May 12 20:04:01 JST 2005 root@firefly.localdomain:/usr/src/sys/arch/macppc/compile/PBG4.current macppc
Architecture: powerpc
Machine: macppc
>Description:
	When completing a filename, /bin/sh dumps core.  This does
	not happen with revision 1.2 of lib/libedit/filecomplete.c.

% /bin/sh
$ set -o emacs; set -o tabcomplete
[hit tab key]
$ zsh: 16479 segmentation fault (core dumped)  /bin/sh
%

>How-To-Repeat:
	See above.

>Fix:
	Sorry, I don't know.