From owner-cvs-all@FreeBSD.ORG Tue Feb 26 03:05:48 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 8672116A400; Tue, 26 Feb 2008 03:05:48 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5E60D13C4D5; Tue, 26 Feb 2008 03:05:48 +0000 (UTC) (envelope-from delphij@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 m1Q35mMV082822; Tue, 26 Feb 2008 03:05:48 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m1Q35mbJ082821; Tue, 26 Feb 2008 03:05:48 GMT (envelope-from delphij) Message-Id: <200802260305.m1Q35mbJ082821@repoman.freebsd.org> From: Xin LI Date: Tue, 26 Feb 2008 03:05:48 +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/sbin/fsck_ffs pass2.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: Tue, 26 Feb 2008 03:05:48 -0000 delphij 2008-02-26 03:05:48 UTC FreeBSD src repository Modified files: sbin/fsck_ffs pass2.c Log: In pass2check(): Be more strict with the inode information before further processing the information. chk1 is more prone to crash when insane information is provided by the on-disk inode, and does not even work if the inode is being smarshed badly. Revision Changes Path 1.27 +2 -0 src/sbin/fsck_ffs/pass2.c