
26 Mar
2005
26 Mar
'05
3:24 a.m.
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