From owner-cvs-all@FreeBSD.ORG Sun Jul 20 18:05:30 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FEFB1065746; Sun, 20 Jul 2008 18:05:29 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B286C8FC1B; Sun, 20 Jul 2008 18:05:29 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m6KI5OEP041995; Sun, 20 Jul 2008 18:05:24 GMT (envelope-from keramida@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m6KI5OaO041994; Sun, 20 Jul 2008 18:05:24 GMT (envelope-from keramida@repoman.freebsd.org) Message-Id: <200807201805.m6KI5OaO041994@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to keramida@repoman.freebsd.org using -f From: Giorgos Keramidas Date: Sun, 20 Jul 2008 18:05:18 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/contrib/tcsh tc.func.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2008 18:05:30 -0000 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