[SSSD] [PATCH] execv and exec_child don't return

Stef Walter stefw at gnome.org
Wed Apr 25 13:28:20 UTC 2012


On 04/24/2012 12:42 PM, Sumit Bose wrote:
> Chances are that some static code analysis tools or -D_FORTIFY_SOURCE=2
> might complain about an unchecked return value. Currently we mostly try
> to make those tools happy, even if the code becomes a bit redundant.
> 
> Have you checked if -D_FORTIFY_SOURCE=2 gives an extra warning here?

Do I just define that macro? ie:

$ CFLAGS='-g -O0 -D_FORTIFY_SOURCE=2' ./configure ...

If that's the case, then no, no additional warnings were generated.

Cheers,

Stef



More information about the sssd-devel mailing list