pemensik / bind-dyndb-ldap

Forked from bind-dyndb-ldap 6 years ago
Clone

90df128 Fix race condition during write to internal RBTDB.

Authored and Committed by pspacek 10 years ago
    Fix race condition during write to internal RBTDB.
    
    RBTDB implementation allows to open only one RBTDB instance
    for writing at the same time. This patch adds mutex to
    newversion() implementation in ldap_driver.c.
    
    See comments around ldapdb_t, newversion() and closeversion().
    
    Signed-off-by: Petr Spacek <pspacek@redhat.com>
    
        
file modified
+73 -2
file modified
+7 -6