In article <[email protected]>,
Thomas Klausner  <[email protected]> wrote:
>Hi!
>
>A user tried following the ssp man page and got unexpected results.
>I'd like to know if the man page is wrong or implementation.
>
>Here's his translated message:
>
>Take any program using stdio.h, say
>
>#include <stdlib.h>
>#include <stdio.h>
>
>as the only lines, and use gcc as described in ssp(3):
>
>gcc -I/usr/include/ssp -D_FORTIFY_SOURCE=2 file.c

The man page is wrong. Never do -I/usr/include/ssp. Definining
-D_FORTIFY_SOURCE=<0|1|2> is the only thing you need to do.

christos

Reply via email to