[8426] in Athena Bugs
/bin/csh 7.3P decstation
daemon@ATHENA.MIT.EDU (Joe Harrington)
Thu Oct 17 23:06:06 1991
Date: Thu, 17 Oct 91 23:08:47 -0400
From: jh@astron.mit.edu (Joe Harrington)
To: bugs@Athena.MIT.EDU
Cc: jh@mit.edu
Reply-To: jh@mit.edu
This bug causes segv/coredump upon (attempted) completion of a
username if there are two or more names in the passwd file that match.
For example, if there is a user john and a user jh in /etc/passwd,
saying
cp -p ~j^Z
causes the shell to dump core. (^Z of course being bound to
complete).
Ted Ts'o was able to reproduce the bug; here are some zgrams from him:
>It looks like when ~ needs to expand to two (or possibly more) entries
>on the Decstation (~root and ~ris, ~sccs and ~sso, ~news and ~nobody) it
>will reliably crash. It will reliably expand one name fine, though.
>I need to do some more experimentation. Try as I can, I can't make it
>crash on my Vax workstation, though.
[....]
>OK, that confirms what I've found; it's Ultrix-specific, and it happens
>when you tcsh tries to print the possible completions on a twiddle-expansion.
>(If you bind a key to complete_print, then whenever you try to complete
>a ~ thing, it will crash.)
wchuang was not able to make it die on a vax or rs6000.
--jh--