]> git.sur5r.net Git - openldap/commitdiff
fix potential SIGSEGV when backsql_modify_delete_all_values() is used outside backsql...
authorPierangelo Masarati <ando@openldap.org>
Mon, 13 Jun 2005 22:11:41 +0000 (22:11 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 13 Jun 2005 22:11:41 +0000 (22:11 +0000)
servers/slapd/back-sql/add.c

index cd2b5a6131f437b7497eecfa9532245ea964dc5a..0a5e44561cedfb67c6f0f94a14e10c9f2b0df39d 100644 (file)
@@ -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;
                        }