mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-04-19 22:10:19 +02:00
fix non-init size for malloc_object_size extension
This commit is contained in:
parent
84a25ec83e
commit
8774065b13
1 changed files with 1 additions and 1 deletions
|
@ -1604,7 +1604,7 @@ EXPORT size_t h_malloc_object_size(void *p) {
|
|||
}
|
||||
|
||||
if (unlikely(slab_region_start == NULL)) {
|
||||
return 0;
|
||||
return SIZE_MAX;
|
||||
}
|
||||
|
||||
thread_unseal_metadata();
|
||||
|
|
Loading…
Add table
Reference in a new issue