0038129 Bug 750625 - Fix Coverity (11054) Dereference after null check

Authored and Committed by Noriko Hosoi 9 years ago
    Bug 750625 - Fix Coverity (11054) Dereference after null check
    
    https://bugzilla.redhat.com/show_bug.cgi?id=750625
    
    slapd/pw.c (new_passwdPolicy)
    
    Bug Description: Passing null variable "pb" to function "get_entry",
    which dereferences it.
    
    Fix Description: if NULL pblock is passed, new_passworPolicy does not
    go forward, but returns immediately.
    
        
file modified
+16 -11