From: Pierangelo Masarati Date: Mon, 13 Jun 2005 22:11:41 +0000 (+0000) Subject: fix potential SIGSEGV when backsql_modify_delete_all_values() is used outside backsql... X-Git-Tag: OPENLDAP_AC_BP~533 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=495106c213d1b8d411130de31950451248920db7;p=openldap fix potential SIGSEGV when backsql_modify_delete_all_values() is used outside backsql_add() --- diff --git a/servers/slapd/back-sql/add.c b/servers/slapd/back-sql/add.c index cd2b5a6131..0a5e44561c 100644 --- a/servers/slapd/back-sql/add.c +++ b/servers/slapd/back-sql/add.c @@ -246,7 +246,7 @@ backsql_modify_delete_all_values( sth, rc ); rs->sr_err = LDAP_OTHER; } - rs->sr_text = op->ora_e->e_name.bv_val; + rs->sr_text = op->o_req_dn.bv_val; SQLFreeStmt( sth, SQL_DROP ); return rs->sr_err; }