From: Kurt Zeilenga Date: Thu, 17 Oct 2002 17:45:44 +0000 (+0000) Subject: blind fix for NULL pointer in Debug() bug (ITS#2143) X-Git-Tag: NO_SLAP_OP_BLOCKS~878 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c382c5efa26e88debeed9c574a39b15953154f69;p=openldap blind fix for NULL pointer in Debug() bug (ITS#2143) --- diff --git a/servers/slapd/back-sql/schema-map.c b/servers/slapd/back-sql/schema-map.c index a0194561d0..140900cdc0 100644 --- a/servers/slapd/back-sql/schema-map.c +++ b/servers/slapd/back-sql/schema-map.c @@ -326,7 +326,7 @@ backsql_load_schema_map( backsql_info *si, SQLHDBC dbh ) Debug( LDAP_DEBUG_TRACE, "load_schema_map(): " "attribute '%s' for objectClass '%s' " "is not defined in schema: %s\n", - at_map->ad->ad_cname.bv_val, + at_rol.cols[ 0 ], BACKSQL_OC_NAME( oc_map ), text ); return LDAP_CONSTRAINT_VIOLATION; }