Re:How to zero a buffer
by swift on Thursday September 04, 2014 @08:33PM
(#8271638)
Many languages zero every allocation unless they can prove that you immediately write over that memory without reading it.
[ Parent
| on HN ]
Yes, but that's going the wrong direction. The situation here is that you've already written over it, and now wish to erase what you wrote.
Re:How to zero a buffer
by tedunangst on Thursday September 04, 2014 @08:47PM
(#8271690)
Which does nothing for memory which has been freed but not reallocated.