Commit d4c7bcc7 authored by Basile Desloges 's avatar Basile Desloges

[eacsl] Fix testing of heap initialization

parent 5f45028b
......@@ -895,7 +895,7 @@ int heap_initialized(uintptr_t addr, long len) {
unsigned char mask = 0;
setbits64_skip(set,mask,skip);
if (*shadow != mask)
if ((*shadow & mask) != mask)
return 0;
}
if (len > 0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment