3 ms·
Is memory wiped with zeros by malloc/free in libc or in the kernel? If not, you're at risk.
by jevinskie 13y ago
Is memory wiped with zeros by malloc/free in libc or in the kernel? If not, you're at risk.
- bzbarsky 13y agoYes, it is. Leaking memory contents across processes would be a pretty serious bug in the kernel. So when your process asks the kernel for memory (via sbrk or mmap) the memory it gets is zeroed out.