From 58f36940c50f3346e1a03f770c77972d7dbee1ff Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 24 Nov 1998 02:29:53 +0000 Subject: [PATCH] string_expand used hardcoded size instead of bufsiz argument. pointed out by Jorg Pietschmann . --- servers/slapd/acl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/acl.c b/servers/slapd/acl.c index 72a89e2751..7c922782fc 100644 --- a/servers/slapd/acl.c +++ b/servers/slapd/acl.c @@ -478,7 +478,7 @@ 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 == '$') { -- 2.39.5