mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 19:38:41 +03:00
compile for 32-bit as well
This commit is contained in:
parent
659a9dd51d
commit
bf9a2ddb59
5 changed files with 18 additions and 15 deletions
|
@ -382,7 +382,7 @@ static void test_mt_shutdown()
|
|||
|
||||
// issue #372
|
||||
static void fail_aslr() {
|
||||
size_t sz = (4ULL << 40); // 4TiB
|
||||
uint64_t sz = (4ULL << 40); // 4TiB
|
||||
void* p = malloc(sz);
|
||||
printf("pointer p: %p: area up to %p\n", p, (uint8_t*)p + sz);
|
||||
*(int*)0x5FFFFFFF000 = 0; // should segfault
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue