News for hackers. Stuff that matters.
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.
Re:How to zero a buffer by marvy on Thursday September 04, 2014 @08:48PM (#8271699)
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.
Re:How to zero a buffer by swift on Sunday September 07, 2014 @02:05AM (#8280453)
That's a great point; should've thought through that post a little better. Thanks.