Date: Sun, 12 Dec 2004 08:26:50 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm vnode_pager.c Message-ID: <200412120826.iBC8QoOx023892@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2004-12-12 08:26:50 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
sys/vm vnode_pager.c
Log:
MFC revision 1.206
Almost nine years ago, when support for 1TB files was introduced in
revision 1.55, the address parameter to vnode_pager_addr() was changed
from an unsigned 32-bit quantity to a signed 64-bit quantity. However,
an out-of-range check on the address was not updated. Consequently,
memory-mapped I/O on files greater than 2GB could cause a kernel panic.
Since the address is now a signed 64-bit quantity, the problem resolution
is simply to remove a cast.
Revision Changes Path
1.196.2.2 +1 -1 src/sys/vm/vnode_pager.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412120826.iBC8QoOx023892>
