[Freeipa-devel] [PATCH 565] Fix potential aborts in KDB driver

Simo Sorce simo at redhat.com
Tue Jan 5 22:19:09 UTC 2016


On Tue, 2016-01-05 at 16:15 -0500, Simo Sorce wrote:
> The LDAP context was not checked on the first api call and a context may
> be null on some error conditions (LDAP server unreachable).
> 
> Always check that we have a valid context before calling the ldap API.
> 
> Builds abut it is untested.

Forgot to mention that this bug affects all 4.x versions and should
probably be backported on all maintained branches.

I opened a bug to track it too:
https://fedorahosted.org/freeipa/ticket/5577

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the Freeipa-devel mailing list