]> git.sur5r.net Git - openldap/commitdiff
Check for NULL DN
authorHoward Chu <hyc@openldap.org>
Wed, 9 Nov 2011 10:07:14 +0000 (02:07 -0800)
committerHoward Chu <hyc@openldap.org>
Wed, 9 Nov 2011 10:07:14 +0000 (02:07 -0800)
servers/slapd/back-mdb/dn2entry.c

index 26bf8464376b26012b75d940e4b0ab3c501d1fbe..7166ab6e56dfbdce66db955efa394977cc2fdf3a 100644 (file)
@@ -43,7 +43,7 @@ mdb_dn2entry(
        MDB_cursor *mc;
 
        Debug(LDAP_DEBUG_TRACE, "mdb_dn2entry(\"%s\")\n",
-               dn->bv_val, 0, 0 );
+               dn->bv_val ? dn->bv_val : "", 0, 0 );
 
        *e = NULL;