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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[email protected]"