Date: Mon, 22 Oct 2007 05:21:05 +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 vm_map.c Message-ID: <200710220521.l9M5L5pi029526@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2007-10-22 05:21:05 UTC
FreeBSD src repository
Modified files:
sys/vm vm_map.c
Log:
Correct an error in vm_map_sync(), nee vm_map_clean(), that has existed
since revision 1.1. Specifically, neither traversal of the vm map checks
whether the end of the vm map has been reached. Consequently, the first
traversal can wrap around and bogusly return an error.
This error has gone unnoticed for so long because no one had ever before
tried msync(2)ing a region above the stack.
Reported by: peter
MFC after: 1 week
Revision Changes Path
1.389 +4 -2 src/sys/vm/vm_map.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710220521.l9M5L5pi029526>
