summaryrefslogtreecommitdiff
path: root/src/exim_monitor
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2022-03-03 22:23:42 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2022-03-03 22:23:42 +0000
commit4191cb150300d310ab5fa22ce2cfb02b6f6051b0 (patch)
tree501724c674333b636ce1a5a73f84dec708d35bcd /src/exim_monitor
parent376d3790ba2756278e28d0ecaa1ed7c9b1a0ab00 (diff)
downloadexim4-4191cb150300d310ab5fa22ce2cfb02b6f6051b0.tar.gz
Check query strings of query-style lookups for quoting. Bug 2850
Diffstat (limited to 'src/exim_monitor')
-rw-r--r--src/exim_monitor/em_main.c2
-rw-r--r--src/exim_monitor/em_queue.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/exim_monitor/em_main.c b/src/exim_monitor/em_main.c
index 38c72307a..af1323064 100644
--- a/src/exim_monitor/em_main.c
+++ b/src/exim_monitor/em_main.c
@@ -594,7 +594,7 @@ constructing file names and things. This call will initialize
the store_get() function. */
store_init();
-big_buffer = store_get(big_buffer_size, FALSE);
+big_buffer = store_get(big_buffer_size, GET_UNTAINTED);
/* Set up the version string and date and output them */
diff --git a/src/exim_monitor/em_queue.c b/src/exim_monitor/em_queue.c
index 2146fcb8c..276f3379b 100644
--- a/src/exim_monitor/em_queue.c
+++ b/src/exim_monitor/em_queue.c
@@ -138,8 +138,8 @@ tree_node *
acl_var_create(uschar *name)
{
tree_node *node, **root;
-root = (name[0] == 'c')? &acl_var_c : &acl_var_m;
-node = store_get(sizeof(tree_node) + Ustrlen(name), FALSE);
+root = name[0] == 'c' ? &acl_var_c : &acl_var_m;
+node = store_get(sizeof(tree_node) + Ustrlen(name), GET_UNTAINTED);
Ustrcpy(node->name, name);
node->data.ptr = NULL;
(void)tree_insertnode(root, node);