From owner-cvs-all Fri Mar 17 17:27:48 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 2399937B956; Fri, 17 Mar 2000 17:27:46 -0800 (PST) (envelope-from chris@FreeBSD.org) Received: (from chris@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA26576; Fri, 17 Mar 2000 17:27:46 -0800 (PST) (envelope-from chris@FreeBSD.org) Message-Id: <200003180127.RAA26576@freefall.freebsd.org> From: Chris Costello Date: Fri, 17 Mar 2000 17:27:45 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_subr.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG chris 2000/03/17 17:27:45 PST Modified files: sys/kern vfs_subr.c Log: In vn_isdisk(), check whether vp->v_rdev is NULL. If it is, then return ENXIO (Device not configured). Without this, vn_isdisk() could (and did in the case of lstat() under fdesc) pass a NULL pointer to devsw(), which caused a page fault. Reviewed by: alfred Revision Changes Path 1.252 +6 -1 src/sys/kern/vfs_subr.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message