[SSSD] Fix crash in LDAP backend in initgroups() call

Simo Sorce ssorce at redhat.com
Thu Sep 3 14:50:10 UTC 2009


On Thu, 2009-09-03 at 16:42 +0200, Ralf Haferkamp wrote:
> 
> this is another small patch for a crasher in the LDAP backend. I
> unsure though 
> if it is the correct fix or if sdap_get_initgr_save_done() should make
> use of 
> the timestamp argument when calling sdap_save_group_recv() instead of
> setting 
> it to NULL.

I will check later about the timeout.

> AFAICS the problem was introduced with the recent optimization in the 
> enumeration code. At least it's not present in the 0.5.0 release.

It is obviously correct to check for it anyway, and, I think, also done
in other code as well, thanks for catching it!

ACK.

Simo.

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




More information about the sssd-devel mailing list