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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"