abbra / bind-dyndb-ldap

Forked from bind-dyndb-ldap 5 years ago
Clone

2727a4b Fix error handling in ldap_entry_create().

Authored and Committed by pspacek 11 years ago
    Fix error handling in ldap_entry_create().
    
    Jump to cleanup section after first memory allocation created memory leak
    which crashed BIND on reload.
    
    Missing return value check after ldap_get_dn() call can lead to crash.
    
    Signed-off-by: Petr Spacek <pspacek@redhat.com>
    
        
file modified
+15 -9