Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-03-25 22:24:08


Igor Smirnov wrote:
> Hi All,
>
> What do you think about optional set of new/delete operators which
> clean memory in delete() by filling it with zeros. I mean an
> implementation with the standard syntax, so that any old program using
> the standard new/delete can be linked with the modified version of
> new/delete without any change in the program text and even without its
> recompilation. I have never heard whether this simple idea was
> implemented anywhere. In fact, these operators are useful for sequre
> aplications, which are not expected to leave significant information
> in
> the dynamic memory.

You might want to look at http://www.eddeye.net/src/secalloc/.

Jonathan


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk