Re:How to zero a buffer
by jasonme on Thursday September 04, 2014 @09:47PM
(#8271906)
Well, if the buffer is so critical and yet small, why not just free it and re-allocate the whole thing next time we use it.
[ Parent
| on HN ]
Re:How to zero a buffer
by davidcuddeback on Thursday September 04, 2014 @10:11PM
(#8271974)
Because freeing memory doesn't erase its contents.