www.a00.de > tcpgroup > 1995 > msg00086
 

TCP-group 1995


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NOTICE-WARNING- TIME BOMB!!



>What we did was also poison the memory freed with 0x0d's so any deref
>would cause a fault and a crash right away.

Good idea, at least for debug versions. I think I did this myself,
although as I recall I used the hex pattern "FEED FACE DEAD BEEF" -
which I picked up way back in high school when I cut my teeth on the
IBM 1130.

You probably wouldn't want to spend the overhead on the memset() calls
in a production version.

Phil




Document URL : http://www.a00.de/tcpgroup/1995/msg00086.php
Ralf D. Kloth, Ludwigsburg, DE (QRQ.software). < hostmaster at a00.de > [don't send spam]
Created 2005-01-02. Last modified 2005-01-02. Your visit 2024-04-25 23:49.04. Page created in 0.0223 sec.
 
[Go to the top of this page]   [... to the index page]