[SSSD] [PATCH] prevent segfault when ldap_uri is misconfigured

Jan Zelený jzeleny at redhat.com
Tue Jul 19 15:15:40 UTC 2011


> https://fedorahosted.org/sssd/ticket/911
> 
> [PATCH 1/2] Do not add a NULL host parsed from LDAP URI
> Do not add a server into fail over in case its host name is NULL. Also
> fixes a possible memleak in case be_fo_add_server() failed.
> 
> [PATCH 2/2] Only print server address if one is available
> The second patch is kinda related. In fail over, it is possible that
> fo_get_server_hostent() returns NULL in case we did not find any name
> for the server. Therefore we must check its return value before
> dereferencing it.

Nack, there is a compilation error caused by the second patch.

Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110719/74db47a0/attachment.sig>


More information about the sssd-devel mailing list