mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-10-01 01:36:01 -04:00
relabel quarantined large allocation regions
This commit is contained in:
parent
6e67106882
commit
178ec6e3f9
@ -755,6 +755,7 @@ static void regions_quarantine_deallocate_pages(void *p, size_t size, size_t gua
|
||||
deallocate_pages(p, size, guard_size);
|
||||
return;
|
||||
}
|
||||
memory_set_name(p, size, "malloc large");
|
||||
|
||||
struct quarantine_info a =
|
||||
(struct quarantine_info){(char *)p - guard_size, size + guard_size * 2};
|
||||
|
Loading…
Reference in New Issue
Block a user