summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2020-01-11 21:51:42 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2020-01-11 21:51:42 +0000
commited1620555d261c5e970dbbe873bf4b19026b0e48 (patch)
tree40c0c2a64d4e16c6a6cbf6c9e798f86ccf7d7dbc /src
parent481e63ca2bbd7b603e5bb84f6582ab4be5e3300d (diff)
ACL: taint-enforce queue modifier
Diffstat (limited to 'src')
-rw-r--r--src/src/acl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/src/acl.c b/src/src/acl.c
index 7284831a6..3166069ba 100644
--- a/src/src/acl.c
+++ b/src/src/acl.c
@@ -3590,6 +3590,12 @@ for (; cb; cb = cb->next)
#endif
case ACLC_QUEUE:
+ if (is_tainted(arg))
+ {
+ *log_msgptr = string_sprintf("Tainted name '%s' for queue not permitted",
+ arg);
+ return ERROR;
+ }
if (Ustrchr(arg, '/'))
{
*log_msgptr = string_sprintf(