fix non-init size for malloc_object_size extension

This commit is contained in:
Daniel Micay 2019-04-14 19:01:25 -04:00
parent 84a25ec83e
commit 8774065b13

View File

@ -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();