From owner-freebsd-bugs Sat Nov 30 10:37:44 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 426B737B401; Sat, 30 Nov 2002 10:37:43 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01DF743EC2; Sat, 30 Nov 2002 10:37:43 -0800 (PST) (envelope-from mckusick@FreeBSD.org) Received: from freefall.freebsd.org (mckusick@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAUIbgx3098013; Sat, 30 Nov 2002 10:37:42 -0800 (PST) (envelope-from mckusick@freefall.freebsd.org) Received: (from mckusick@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAUIbgPM098009; Sat, 30 Nov 2002 10:37:42 -0800 (PST) Date: Sat, 30 Nov 2002 10:37:42 -0800 (PST) From: Kirk McKusick Message-Id: <200211301837.gAUIbgPM098009@freefall.freebsd.org> To: setantae@submonkey.net, mckusick@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/30959: newfs -i x dumps core for small values of x Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: newfs -i x dumps core for small values of x State-Changed-From-To: open->closed State-Changed-By: mckusick State-Changed-When: Sat Nov 30 10:32:51 PST 2002 State-Changed-Why: From: Kirk McKusick Date: Sat, 30 Nov 2002 10:28:26 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/newfs mkfs.c newfs.c mckusick 2002/11/30 10:28:26 PST Modified files: sbin/newfs mkfs.c newfs.c Log: Add some more checks to newfs so that it will not build filesystems that the kernel will refuse to mount. Specifically it now enforces the MAXBSIZE blocksize limit. This update also fixes a problem where newfs could segment fault if the selected fragment size was too large. PR: bin/30959 Submitted by: Ceri Davies Sponsored by: DARPA & NAI Labs. Revision Changes Path 1.66 +24 -14 src/sbin/newfs/mkfs.c 1.66 +5 -1 src/sbin/newfs/newfs.c http://www.freebsd.org/cgi/query-pr.cgi?pr=30959 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message