]> git.sur5r.net Git - openldap/commitdiff
Need to set error text pointer sooner in entry_schema_check(), or Debug() will SEGV
authorMark Adamson <adamson@openldap.org>
Wed, 15 Aug 2001 15:27:26 +0000 (15:27 +0000)
committerMark Adamson <adamson@openldap.org>
Wed, 15 Aug 2001 15:27:26 +0000 (15:27 +0000)
servers/slapd/schema_check.c

index 627eb7b615ad8c5f5099821a56ee162e75b14af4..91615101e3fcf88ba83e109b65a6ebe81b24c7f1 100644 (file)
@@ -62,6 +62,7 @@ entry_schema_check(
                            e->e_dn, textbuf, 0 );
 #endif
 
+                       *text = textbuf;
                        return LDAP_CONSTRAINT_VIOLATION;
                }
        }