Lukaš,

On Tue, Aug 30, 2016 at 4:54 PM, Lukas Slebodnik <[email protected]> wrote:
> ehlo,
>
> Clang static analyzer assume that ldb_search can found
> 0 entries in the tree "cn=sysdb". Thenvariable version
> could be used uninitialized.
>
> We cannot get to such state in sssd but we already handle
> a case for more then one entry.

I don't think this is the right approach as res->count == 0 seems to
be a valid case for a newly created database (please, correct me if
I'm wrong).

Best Regards,
--
Fabiano Fidêncio
_______________________________________________
sssd-devel mailing list
[email protected]
https://lists.fedorahosted.org/admin/lists/[email protected]

Reply via email to