[SSSD] handling NULL params in sss_parse_name
Jakub Hrozek
jhrozek at redhat.com
Mon Jan 27 12:23:10 UTC 2014
On Mon, Jan 27, 2014 at 01:02:19PM +0100, Lukas Slebodnik wrote:
> On (26/01/14 13:02), Pavel Reichl wrote:
> >Hello,
> >
> >sss_parse_name currently SIGSEGVs if any of output parameters (domain,
> >name) is a NULL. I think it may be useful to support passing NULL
> >arguments as not always both pieces of information are needed.
> >
> >Please see attached patch.
> >
> >PR
>
> Can you also add '_' as prefix for output parameters into declaration.
> We are not consistent in this and I cannot find this in coding style,
> but it improves readability.
>
> LS
Right, this is not codified, but I prefer to prefix output variables,
too.
More information about the sssd-devel
mailing list