Question: what scenarios does zero-memory-on-free mitigate that zero-mem-on-malloc doesn't?
I have hard time imagining any...
For accesses via new ptr it doesn't matter.
Via old ptr - most likely doesn't matter too (could have been accesses while the object is alive).
Quote Tweet
I love that there have probably been about 1000 emails on this topic on the KSPP list about how they're going to build a better PAX_MEMORY_SANITIZE, and finally after 3 years they've come full circle to how PAX_MEMORY_SANITIZE has always worked: openwall.com/lists/kernel-h
Show this thread
4
1
4


