]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Quick fix for ITS#2072, segfault on (uid=\89\aa\20\8c\92\0a), re20 only
authorKurt Zeilenga <kurt@openldap.org>
Mon, 9 Sep 2002 17:16:20 +0000 (17:16 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 9 Sep 2002 17:16:20 +0000 (17:16 +0000)
servers/slapd/schema_init.c

index 4061c21fd68a66539d3eaa583b803d8391a092c5..00d86024b67a3cf413e9d836163cb6e0ab91e181 100644 (file)
@@ -618,8 +618,10 @@ UTF8StringNormalize(
                q = s;
        }
 
+#if 0
        /* cannot end with a space */
        assert( !ldap_utf8_isspace( LDAP_UTF8_PREV(q) ) );
+#endif
 
        /* null terminate */
        *q = '\0';