full-disclosure-uk January 2009 archive
Main Archive Page > Month Archives  > full-disclosure-uk archives
full-disclosure-uk: Re: [Full-disclosure] Help with something?

Re: [Full-disclosure] Help with something?

From: Andrew Farmer <andfarm_at_nospam>
Date: Tue Jan 13 2009 - 03:46:47 GMT
To: Will McAfee <sec-community@thegoodhacker.com>


On 12 Jan 09, at 09:53, Will McAfee wrote:
> I got started a long time ago writing example code for new security-
> interested people. I got just one example done, my full time job and
> school started, and gave up debugging. Just out of curiosity, going
> to throw it out there. It's the only example up at http://labs.thegoodhacker.com/
> let's see where I messed up. It segfaults, if I remember correctly.

At a glance, you're doing linked list management wrong. Stop trying to code your own. This is C++; the STL exists for a reason.

Same goes for char arrays (which you leak all over the place). The STL has strings too.



Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html Hosted and sponsored by Secunia - http://secunia.com/