cvs commit: src/contrib/tcsh tc.func.c

From: Giorgos Keramidas <>
Date: Sun, 20 Jul 2008 18:05:18 +0000 (UTC)
keramida    2008-07-20 18:05:18 UTC

  FreeBSD src repository

  Modified files:
    contrib/tcsh         tc.func.c 
  SVN rev 180637 on 2008-07-20 18:05:18Z by keramida
  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,
                  Pietro Cerutti, gahr at
  PR:             bin/124191
  Reviewed by:    mp, kris
  MFC after:      2 days
  Revision  Changes    Path
  1.2       +640 -677  src/contrib/tcsh/tc.func.c
Received on Sun Jul 20 2008 - 18:05:30 UTC