mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
Fix error in aix zeropage handling.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6396
This commit is contained in:
parent
043bf89f2a
commit
dfa95416d2
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user