Full Disclosure mailing list archives
Re: ShortNotes : Stack Smashing with GCC4
From: "Guasconi Vincent" <tyoptyop () gmail com>
Date: Fri, 20 Apr 2007 20:37:37 +0200
On 4/20/07, Marcus Meissner <meissner () suse de> wrote:
The classic example (Gera's Law):[File : abo1.c ] After fixing your code (adding a missing #include <string.h>)
Wohohoh!
gcc -O2 -fstack-protector xx.c -o xx ./xx `perl -e "print 'a' x 1024;"` *** stack smashing detected ***: ./xx terminated Perhaps you should read the manpages of the compiler first to find the correct options to enable. Ciao, Marcus
He have never talk about PP. Ciao. -- Guasconi Vincent Etudiant. http://altmylife.blogspot.com _______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.grok.org.uk/full-disclosure-charter.html Hosted and sponsored by Secunia - http://secunia.com/
Current thread:
- ShortNotes : Stack Smashing with GCC4 xWinGs @ KJ (Apr 20)
- Re: ShortNotes : Stack Smashing with GCC4 Marcus Meissner (Apr 20)
- Message not available
- Re: ShortNotes : Stack Smashing with GCC4 Guasconi Vincent (Apr 20)
- Message not available
- Re: ShortNotes : Stack Smashing with GCC4 Marcus Meissner (Apr 20)
- <Possible follow-ups>
- Re: ShortNotes : Stack Smashing with GCC4 Chris Rohlf (Apr 20)