]> git.sur5r.net Git - openldap/commitdiff
ITS#4800
authorHoward Chu <hyc@openldap.org>
Wed, 10 Jan 2007 20:30:29 +0000 (20:30 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 10 Jan 2007 20:30:29 +0000 (20:30 +0000)
clients/tools/ldapmodify.c

index e53048236bf83b643058facec67e0973af89baf5..7841bda126c81b4c9cc2cdfa4473d9abe03351c5 100644 (file)
@@ -942,6 +942,7 @@ parse_ldif_control(
 
        if (ppctrls) pctrls = *ppctrls;
        /* OID should come first. Validate and extract it. */
+       s = bval->bv_val;
        if (*s == 0) return ( LDAP_PARAM_ERROR );
        oidStart = s;
        while (isdigit((unsigned char)*s) || *s == '.') {