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

Jan Zelený jzeleny at redhat.com
Wed Jul 20 10:49:23 UTC 2011


> On 07/19/2011 05:15 PM, Jan Zelený wrote:
> >> 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
> 
> Oops, that code should have been in a later patch, bad rebasing.
> 
> New patches attached.

Ack to both of them

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/20110720/2d123a53/attachment.sig>


More information about the sssd-devel mailing list