From: Howard Chu Date: Wed, 14 Jan 2015 10:22:50 +0000 (+0000) Subject: Fix NULL in debug output (coverity) X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=67c13d0ccff80aadff78d1a1c6ae89630766cad9;p=openldap Fix NULL in debug output (coverity) --- diff --git a/servers/slapd/sets.c b/servers/slapd/sets.c index a91a545d18..2da564d7d0 100644 --- a/servers/slapd/sets.c +++ b/servers/slapd/sets.c @@ -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 {