]> git.sur5r.net Git - openldap/commitdiff
Fix NULL in debug output (coverity)
authorHoward Chu <hyc@openldap.org>
Wed, 14 Jan 2015 10:22:50 +0000 (10:22 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 14 Jan 2015 10:22:50 +0000 (10:22 +0000)
servers/slapd/sets.c

index a91a545d1897492b9187cef41e0408949855915b..2da564d7d0e1c67889e7d14df1776e200829eb86 100644 (file)
@@ -358,7 +358,7 @@ done:;
 
 done2:;
        if ( LogTest( LDAP_DEBUG_ACL ) ) {
-               if ( BER_BVISNULL( set ) ) {
+               if ( !set || BER_BVISNULL( set ) ) {
                        Debug( LDAP_DEBUG_ACL, "  ACL set: empty\n", 0, 0, 0 );
 
                } else {