From: Mark Adamson Date: Wed, 15 Aug 2001 15:27:26 +0000 (+0000) Subject: Need to set error text pointer sooner in entry_schema_check(), or Debug() will SEGV X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1161 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7378872731e10c5451383e8f2e5543eea58ba65c;p=openldap Need to set error text pointer sooner in entry_schema_check(), or Debug() will SEGV --- diff --git a/servers/slapd/schema_check.c b/servers/slapd/schema_check.c index 627eb7b615..91615101e3 100644 --- a/servers/slapd/schema_check.c +++ b/servers/slapd/schema_check.c @@ -62,6 +62,7 @@ entry_schema_check( e->e_dn, textbuf, 0 ); #endif + *text = textbuf; return LDAP_CONSTRAINT_VIOLATION; } }