Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2000 17:27:45 -0800 (PST)
From:      Chris Costello <chris@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_subr.c
Message-ID:  <200003180127.RAA26576@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003180127.RAA26576>