Date: Sun, 23 Mar 2008 07:07:27 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 pmap.c src/sys/amd64/amd64 pmap.c Message-ID: <200803230707.m2N77RhY084950@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2008-03-23 07:07:27 UTC FreeBSD src repository Modified files: sys/i386/i386 pmap.c sys/amd64/amd64 pmap.c Log: Prevent the overflow in the calculation of the next page directory. The overflow causes the wraparound with consequent corruption of the (almost) whole address space mapping. As Alan noted, pmap_copy() does not require the wrap-around checks because it cannot be applied to the kernel's pmap. The checks there are included for consistency. Reported and tested by: kris (i386/pmap.c:pmap_remove() part) Reviewed by: alc MFC after: 1 week Revision Changes Path 1.607 +19 -1 src/sys/amd64/amd64/pmap.c 1.609 +6 -0 src/sys/i386/i386/pmap.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803230707.m2N77RhY084950>