From owner-cvs-all Mon Nov 5 10:58:58 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9061F37B61A; Mon, 5 Nov 2001 10:58:47 -0800 (PST) Received: (from dillon@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fA5Iwli77572; Mon, 5 Nov 2001 10:58:47 -0800 (PST) (envelope-from dillon) Message-Id: <200111051858.fA5Iwli77572@freefall.freebsd.org> From: Matt Dillon Date: Mon, 5 Nov 2001 10:58:47 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm vnode_pager.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 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