summaryrefslogtreecommitdiff
path: root/cpu-exec.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2010-03-10 15:57:04 -0800
committerPaul Brook <paul@codesourcery.com>2010-03-12 16:31:32 +0000
commit569f74952846308eb1b9aa7a6964f23753f41eba (patch)
treeb0e0a267364b3026c48fe5ba809f008a7a68c8cb /cpu-exec.c
parentc7abfb692050205daafec478916ff9e8692178d0 (diff)
downloadqemu-569f74952846308eb1b9aa7a6964f23753f41eba.tar.gz
qemu-569f74952846308eb1b9aa7a6964f23753f41eba.tar.bz2
qemu-569f74952846308eb1b9aa7a6964f23753f41eba.zip
Fix last page errors in page_check_range and page_set_flags.
The addr < end comparison prevents iterating over the last page in the guest address space; an iteration based on length avoids this problem. At the same time, assert that the given address is in the guest address space. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'cpu-exec.c')
0 files changed, 0 insertions, 0 deletions