fix non-init size for malloc_object_size extension
This commit is contained in:
parent
84a25ec83e
commit
8774065b13
@ -1604,7 +1604,7 @@ EXPORT size_t h_malloc_object_size(void *p) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (unlikely(slab_region_start == NULL)) {
|
if (unlikely(slab_region_start == NULL)) {
|
||||||
return 0;
|
return SIZE_MAX;
|
||||||
}
|
}
|
||||||
|
|
||||||
thread_unseal_metadata();
|
thread_unseal_metadata();
|
||||||
|
Loading…
Reference in New Issue
Block a user