[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Full-disclosure] ShortNotes : Stack Smashing with GCC4



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/