Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2001 10:58:47 -0800 (PST)
From:      Matt Dillon <dillon@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/vm vnode_pager.c
Message-ID:  <200111051858.fA5Iwli77572@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

dillon      2001/11/05 10:58:47 PST

  Modified files:
    sys/vm               vnode_pager.c 
  Log:
  Adjust vnode_pager_input_smlfs() to not attempt to BMAP blocks beyond the
  file EOF.  This works around a bug in the ISOFS (CDRom) BMAP code which
  returns bogus values for requests beyond the file EOF rather then returning
  an error, resulting in either corrupt data being mmap()'d beyond the file EOF
  or resulting in a seg-fault on the last page of a mmap()'d file (mmap()s of
  CDRom files).
  
  Reported by: peter / Yahoo
  MFC after:	3 days
  
  Revision  Changes    Path
  1.139     +7 -2      src/sys/vm/vnode_pager.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?200111051858.fA5Iwli77572>