git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb43acb
)
tree nodes for acls must be mutable
author
Jeremy Harris
<jgh146exb@wizmail.org>
Fri, 14 May 2021 23:03:01 +0000
(
00:03
+0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Sun, 27 Jun 2021 23:30:02 +0000
(
00:30
+0100)
src/src/readconf.c
patch
|
blob
|
history
diff --git
a/src/src/readconf.c
b/src/src/readconf.c
index cb7f6227360967c37acc53e504739d5c8b7d3d22..c8f25aaaf1f781b4402a363938223fe9aa98eeb4 100644
(file)
--- 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,