[exim-cvs] tree nodes for acls must be mutable

Góra strony
Delete this message
Reply to this message
Autor: Exim Git Commits Mailing List
Data:  
Dla: exim-cvs
Temat: [exim-cvs] tree nodes for acls must be mutable
Gitweb: https://git.exim.org/exim.git/commitdiff/48cf5ff9f3b4aee78f670b636e48183730fb6b76
Commit:     48cf5ff9f3b4aee78f670b636e48183730fb6b76
Parent:     bb43acbd98aeeedfb0e1ab0465d30d555269d499
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sat May 15 00:03:01 2021 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Mon Jun 28 00:30:02 2021 +0100


    tree nodes for acls must be mutable
---
 src/src/readconf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


diff --git a/src/src/readconf.c b/src/src/readconf.c
index cb7f622..c8f25aa 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,