From owner-cvs-all Sat Jan 18 17:39:55 2003 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 5BB2837B401; Sat, 18 Jan 2003 17:39:54 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id F23F843ED8; Sat, 18 Jan 2003 17:39:53 -0800 (PST) (envelope-from jmallett@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h0J1drfh094172; Sat, 18 Jan 2003 17:39:53 -0800 (PST) (envelope-from jmallett@repoman.freebsd.org) Received: (from jmallett@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h0J1drob094171; Sat, 18 Jan 2003 17:39:53 -0800 (PST) Message-Id: <200301190139.h0J1drob094171@repoman.freebsd.org> From: Juli Mallett Date: Sat, 18 Jan 2003 17:39:53 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libufs block.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jmallett 2003/01/18 17:39:53 PST Modified files: lib/libufs block.c Log: Don't crash when utilities are dumb and try to read less than the disk block size (dumpfs may try to read the cylinder size (or is is sector size?) by way of bread). Prevents a bounds error. Revision Changes Path 1.4 +1 -1 src/lib/libufs/block.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message