[exim-cvs] Taint: fix parsing of ACL ratelimit condition

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] Taint: fix parsing of ACL ratelimit condition
Gitweb: https://git.exim.org/exim.git/commitdiff/0d7a24c68f30ce73df5f0859b2de6a39e74b92bc
Commit:     0d7a24c68f30ce73df5f0859b2de6a39e74b92bc
Parent:     d34c22b8288153f147af068d4c14ed8fcc8b9692
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Apr 12 17:47:27 2020 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun Apr 12 18:19:50 2020 +0100


    Taint: fix parsing of ACL ratelimit condition
---
 src/src/acl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


diff --git a/src/src/acl.c b/src/src/acl.c
index 3ea8df1..22610ce 100644
--- a/src/src/acl.c
+++ b/src/src/acl.c
@@ -2260,7 +2260,7 @@ count = 1.0;

/* Parse the other options. */

-while ((ss = string_nextinlist(&arg, &sep, big_buffer, big_buffer_size)))
+while ((ss = string_nextinlist(&arg, &sep, NULL, 0)))
{
if (strcmpic(ss, US"leaky") == 0) leaky = TRUE;
else if (strcmpic(ss, US"strict") == 0) strict = TRUE;