diff options
author | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2006-12-13 03:16:40 +0000 |
---|---|---|
committer | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2006-12-13 03:16:40 +0000 |
commit | 5e120efe11929c3f6859bd517bf0f0682487f44f (patch) | |
tree | 2594460ab8a58d6fd1a25aa956e11f669f35bdad /memcheck/mc_main.c | |
parent | 2f3bcd2d524670e18b8b017eaadab1eaafb9724f (diff) |
Fix error in aix zeropage handling.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6396 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'memcheck/mc_main.c')
-rw-r--r-- | memcheck/mc_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/memcheck/mc_main.c b/memcheck/mc_main.c index 37aa8e10..85986224 100644 --- a/memcheck/mc_main.c +++ b/memcheck/mc_main.c @@ -2972,7 +2972,7 @@ static void mc_record_address_error ( ThreadId tid, Addr a, Int size, best we can do is to 'act normal' and mark the A bits in the normal way as noaccess, but then hide any reads from that page that get reported here. */ - if ((!isWrite) && a >= 0 && a+size <= 4096) + if ((!isWrite) && a >= 0 && a < 4096 && a+size <= 4096) return; /* Appalling AIX hack. It suppresses reads done by glink |