[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Full-disclosure] ShortNotes : Stack Smashing with GCC4
- To: full-disclosure@xxxxxxxxxxxxxxxxx
- Subject: Re: [Full-disclosure] ShortNotes : Stack Smashing with GCC4
- From: "Guasconi Vincent" <tyoptyop@xxxxxxxxx>
- Date: Fri, 20 Apr 2007 20:37:37 +0200
On 4/20/07, Marcus Meissner <meissner@xxxxxxx> 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/