diff options
author | kib <kib@FreeBSD.org> | 2008-03-23 07:07:27 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2008-03-23 07:07:27 +0000 |
commit | 53a15ee1ea25afc63240421180f961b5bd19d113 (patch) | |
tree | a2f3d1c90343e135c9606a706e1d9e0c160756bf /kerberos5 | |
parent | fcd39263e4bec5057472950165516a57e41471cd (diff) | |
download | FreeBSD-src-53a15ee1ea25afc63240421180f961b5bd19d113.zip FreeBSD-src-53a15ee1ea25afc63240421180f961b5bd19d113.tar.gz |
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
Diffstat (limited to 'kerberos5')
0 files changed, 0 insertions, 0 deletions