News for hackers. Stuff that matters.
Re:How to unc0ver a 0-day in 4 hours or less by doublerabbit on Friday July 10, 2020 @09:12AM (#23791108)
Interesting, from that slide I should always null my variables after I'm finished with them.
Re:How to unc0ver a 0-day in 4 hours or less by sfink on Saturday July 11, 2020 @01:33PM (#23803948)
If they're globals, then yes you should. Having dangling pointers anywhere, even in supposedly unused areas, tends to come back and bite you.

For locals, why bother? The optimizer will probably discard the writes, and worrying about stack addresses being reused is a waste of mental space and clutters the code.