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

Simo Sorce simo at redhat.com
Tue Jan 5 21:15:01 UTC 2016


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.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-simo-565-1-Always-verify-we-have-a-valid-ldap-context.patch
Type: text/x-patch
Size: 3133 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160105/f63f16d5/attachment.bin>


More information about the Freeipa-devel mailing list