From owner-cvs-all@FreeBSD.ORG Mon Jan 26 07:05:36 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C7CE16A4CE; Mon, 26 Jan 2004 07:05:36 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7034D43D48; Mon, 26 Jan 2004 07:05:31 -0800 (PST) (envelope-from cperciva@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i0QF5V0B046086; Mon, 26 Jan 2004 07:05:31 -0800 (PST) (envelope-from cperciva@repoman.freebsd.org) Received: (from cperciva@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i0QF5Vml046079; Mon, 26 Jan 2004 07:05:31 -0800 (PST) (envelope-from cperciva) Message-Id: <200401261505.i0QF5Vml046079@repoman.freebsd.org> From: Colin Percival Date: Mon, 26 Jan 2004 07:05:30 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/fsck_ffs pass1.c setup.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 26 Jan 2004 15:05:36 -0000 cperciva 2004/01/26 07:05:30 PST FreeBSD src repository Modified files: sbin/fsck_ffs pass1.c setup.c Log: Avoid dereferencing null pointers in fsck_ffs. (pfatal may return, so it isn't a safe way of handling [mc]alloc failures.) PR: misc/61800 Approved by: rwatson (mentor) Revision Changes Path 1.39 +2 -2 src/sbin/fsck_ffs/pass1.c 1.46 +5 -0 src/sbin/fsck_ffs/setup.c