[SSSD] [Patch] Added null checks to authtok module

Jakub Hrozek jhrozek at redhat.com
Mon Nov 18 12:33:15 UTC 2013


On Mon, Nov 18, 2013 at 12:31:23PM +0100, Lukas Slebodnik wrote:
> BTW program will not crash, because printf can be safely caled with
> null argument.
> 
> bash$ ./program
> before
> >>(null)<<
> after

This is getting off-topic but I think that calling printf with a NULL
parameter is undefined and on some platforms might cause a crash.



More information about the sssd-devel mailing list