clarify malloc_object_size state further

pull/103/head
Daniel Micay 2019-08-18 06:45:53 -04:00
parent 0129d8e470
commit c66cf10894
1 changed files with 2 additions and 2 deletions

View File

@ -381,9 +381,9 @@ was a bit less important and if a core goal was finding latent bugs.
size class regions interspersed with guard pages size class regions interspersed with guard pages
* Zero size allocations are a dedicated size class with the entire region * Zero size allocations are a dedicated size class with the entire region
remaining non-readable and non-writable remaining non-readable and non-writable
* Extension for retrieving the size of allocations with fallback [in-progress, * Extension for retrieving the size of allocations with fallback to a sentinel
for pointers not managed by the allocator [in-progress, full implementation
needs to be ported from the previous OpenBSD malloc-based allocator] needs to be ported from the previous OpenBSD malloc-based allocator]
to a sentinel for pointers not managed by the allocator
* Can also return accurate values for pointers *within* small allocations * Can also return accurate values for pointers *within* small allocations
* The same applies to pointers within the first page of large allocations, * The same applies to pointers within the first page of large allocations,
otherwise it currently has to return a sentinel otherwise it currently has to return a sentinel