Date: Sun, 20 Jul 2008 18:05:18 +0000 (UTC) From: Giorgos Keramidas <keramida@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/contrib/tcsh tc.func.c Message-ID: <200807201805.m6KI5OaO041994@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807201805.m6KI5OaO041994>
