summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2021-05-15 00:03:01 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2021-06-28 00:30:02 +0100
commit48cf5ff9f3b4aee78f670b636e48183730fb6b76 (patch)
tree45efe52e7297d26d523128a1330d7d27e25bbbb4 /src
parentbb43acbd98aeeedfb0e1ab0465d30d555269d499 (diff)
tree nodes for acls must be mutable
Diffstat (limited to 'src')
-rw-r--r--src/src/readconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/readconf.c b/src/src/readconf.c
index cb7f62273..c8f25aaaf 100644
--- a/src/src/readconf.c
+++ b/src/src/readconf.c
@@ -4260,7 +4260,7 @@ while(acl_line)
if (*p != ':' || name[0] == 0)
log_write(0, LOG_PANIC_DIE|LOG_CONFIG_IN, "missing or malformed ACL name");
- node = store_get(sizeof(tree_node) + Ustrlen(name), is_tainted(name));
+ node = store_get_perm(sizeof(tree_node) + Ustrlen(name), is_tainted(name));
Ustrcpy(node->name, name);
if (!tree_insertnode(&acl_anchor, node))
log_write(0, LOG_PANIC_DIE|LOG_CONFIG_IN,