]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
512 -> bufsize fix.
authorKurt Zeilenga <kurt@openldap.org>
Sat, 5 Dec 1998 02:16:26 +0000 (02:16 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 5 Dec 1998 02:16:26 +0000 (02:16 +0000)
servers/slapd/acl.c

index 435ae709a0f93bceab0940d74add4ebc67dfd4ba..fcd748020edc6abd8bc8438f3ae2ac22575e555a 100644 (file)
@@ -493,7 +493,7 @@ static string_expand(
        newbuf[0] = '\0';
 
        flag = 0;
-       for ( dp = newbuf, sp = pat; size < 512 && *sp ; sp++) {
+       for ( dp = newbuf, sp = pat; size < bufsiz && *sp ; sp++) {
                /* did we previously see a $ */
                if (flag) {
                        if (*sp == '$') {