oliveiradan / 389-ds-base

Forked from 389-ds-base 5 years ago
Clone

e8a685f Bug 750625 - Fix Coverity (11057) Dereference null return value

Authored and Committed by Noriko Hosoi 12 years ago
    Bug 750625 - Fix Coverity (11057) Dereference null return value
    
    https://bugzilla.redhat.com/show_bug.cgi?id=750625
    
    plugins/acl/aclutil.c (aclutil_expand_paramString)
    
    Bug Description: Dereferencing a null pointer "a_dns".
    Missing a check of the NULL possibilities for slapi_entry_get_ndn(e),
    str and their exploded results.
    
    Fix Description: check if slapi_entry_get_ndn(e), str and their
    exploded values are NULL or not.  If any of the values are NULL,
    it does not go further, but returns.