diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2020-06-02 15:03:36 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2020-06-02 15:04:51 +0100 |
commit | 44644c2e404a3ea0191db0b0458e86924fb240bb (patch) | |
tree | c969c0f8c39ad92e43fd64be5facc8f8bd7fbc7a /src | |
parent | 05d83295725e9bb91c1c37108d2d8892ee4a2bfd (diff) |
Taint: fix listcount expansion operator. Bug 2586
Diffstat (limited to 'src')
-rw-r--r-- | src/src/expand.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/src/expand.c b/src/src/expand.c index b014533c9..b01512425 100644 --- a/src/src/expand.c +++ b/src/src/expand.c @@ -7208,9 +7208,8 @@ while (*s != 0) { int cnt = 0; int sep = 0; - uschar buffer[256]; - while (string_nextinlist(CUSS &sub, &sep, buffer, sizeof(buffer))) cnt++; + while (string_nextinlist(CUSS &sub, &sep, NULL, 0)) cnt++; yield = string_fmt_append(yield, "%d", cnt); continue; } |