Comment

Comment by Unklejoe

> You can also set init_on_free=1 in linux cmdline, the kernel will overwrite freed memory.

Does this only work with kernel buffers? I’m wondering how glibc handles freed memory. I feel like there’s a good chance it doesn’t always notify the kernel that the memory has been freed.

parent Unklejoe 3 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton