Skip to content
Snippets Groups Projects
Commit d4c7bcc7 authored by Basile Desloges's avatar Basile Desloges
Browse files

[eacsl] Fix testing of heap initialization

parent 5f45028b
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment