Re: M_TEMP trouble in 13.0-CURRENT #0 r355131M

From: Hans Petter Selasky <hps_at_selasky.org>
Date: Thu, 9 Jan 2020 16:37:13 +0100
On 2020-01-09 16:16, Mark Johnston wrote:
>> Also you should audit the code for zero-sized allocations, because upon
>> alloc, zero-sized is not counted, while on free it is.
> Can you explain further?  A zero-sized allocation should be rounded up to
> 16 bytes in all paths.
> 

If the zero-sized allocation is rounded to 16-bytes, I don't see any 
problem.

Thank you!

--HPS
Received on Thu Jan 09 2020 - 14:38:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:22 UTC