mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-04-20 06:20:20 +02:00
relabel quarantined large allocation regions
This commit is contained in:
parent
6e67106882
commit
178ec6e3f9
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue