From: Howard Chu Date: Wed, 9 Nov 2011 10:07:14 +0000 (-0800) Subject: Check for NULL DN X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d9706311a02456ba49f62c4fa06d6b892176ae9f;p=openldap Check for NULL DN --- diff --git a/servers/slapd/back-mdb/dn2entry.c b/servers/slapd/back-mdb/dn2entry.c index 26bf846437..7166ab6e56 100644 --- a/servers/slapd/back-mdb/dn2entry.c +++ b/servers/slapd/back-mdb/dn2entry.c @@ -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;