[CrackMonkey] Job security.

Joseph S Barrera III joe at barrera.org
Fri Apr 27 15:42:12 PDT 2001


Also sprach Rick Welykochy:
> 6.9 answer:
> 
> You're probably not freeing the memory completely. Try replacing 'free(foo);' with
> 
> free(foo);
> free(foo);
> free(foo);

For best results, you should clear the memory before freeing it, like so:

    bzero(foo);

- Joe






More information about the Crackmonkey mailing list