Commit Graph

9 Commits

Author SHA1 Message Date
Giorgos Keramidas
6ae8b92a79 tcsh: fix abort in cleanup_until(), caused by internal xgetpass()
The xgetpass() function pushes a cleanup entry for &osa, but then
attempts to flush the stack until an entry matching &sa.  The two
object pointers do not match, so the stack is popped too much,
and then cleanup_until calls abort() when it unexpectedly hits
the bottom of the cleanup stack.

Reported by:	Paul B. Mahol, onemda at gmail.com,
		Pietro Cerutti, gahr at gahr.ch
PR:		bin/124191
Reviewed by:	mp, kris
MFC after:	2 days
2008-07-20 18:05:18 +00:00
Mark Peek
45e5710bbb Import of tcsh-6.15.00 2007-03-11 22:33:41 +00:00
Mark Peek
23338178da Import of tcsh-6.14.00 2005-04-24 19:41:08 +00:00
Mark Peek
b2d5d167ed Import of tcsh-6.13.00 2004-07-11 02:17:56 +00:00
Mark Peek
2930157267 Import of tcsh-6.12.00 2002-07-24 16:23:10 +00:00
Mark Peek
6767bd61d2 Import tcsh-6.11 2001-09-05 17:49:32 +00:00
Andrey A. Chernov
3b6eaa7b1e Initial import of slightly trimmed tcsh 6.10 2000-11-30 21:05:33 +00:00
David E. O'Brien
b2be84b199 Offical fixes to allow longer lines in the history and tweak expand_lex()
useage.
2000-06-10 22:20:53 +00:00
David E. O'Brien
c80476e4c3 Import the latest version of the 44BSD C-shell -- tcsh-6.09. 2000-04-15 04:41:27 +00:00