diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-09-06 00:07:15 +0200 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2011-09-06 15:26:25 -0400 |
commit | 64caba9e680b72f6d7c174cb86275720389850d6 (patch) | |
tree | 5cde3bdb58b6ff02fbbd60db2ad976ad2a2b0fe4 /src/providers/ldap/ldap_init.c | |
parent | cd5b718ebeab1c923af7a5c3c0a5c717c5659c7d (diff) | |
download | sssd-64caba9e680b72f6d7c174cb86275720389850d6.tar.gz sssd-64caba9e680b72f6d7c174cb86275720389850d6.tar.bz2 sssd-64caba9e680b72f6d7c174cb86275720389850d6.zip |
Keep deref controls until the whole request is finished
https://fedorahosted.org/sssd/ticket/989
John Hodrien found out that when paging is used while dereferencing an
entry, sssd_be may segfault on the second page.
This was because paging returned the control to sdap_generic_search
multiple times but sssd was freeing dereference control after the first
search invocation. The subsequend sdap searched accessed memory that was
already freed.
Diffstat (limited to 'src/providers/ldap/ldap_init.c')
0 files changed, 0 insertions, 0 deletions