cvs commit: src/contrib/tcsh tc.func.c
Giorgos Keramidas
keramida at FreeBSD.org
Sun Jul 20 18:05:30 UTC 2008
keramida 2008-07-20 18:05:18 UTC
FreeBSD src repository
Modified files:
contrib/tcsh tc.func.c
Log:
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 gmail.com,
Pietro Cerutti, gahr at gahr.ch
PR: bin/124191
Reviewed by: mp, kris
MFC after: 2 days
Revision Changes Path
1.2 +640 -677 src/contrib/tcsh/tc.func.c
More information about the cvs-src
mailing list