https://bugs.exim.org/show_bug.cgi?id=2838

--- Comment #13 from John Paul Adrian Glaubitz <[email protected]> 
---
Patching pcre_init() to use the system's alloc/free functions fixes the problem
for me:

diff --git a/src/src/exim.c b/src/src/exim.c
index 42db457c0..501fe1853 100644
--- a/src/src/exim.c
+++ b/src/src/exim.c
@@ -125,7 +125,7 @@ return yield;
 static void
 pcre_init(void)
 {
-pcre_gen_ctx = pcre2_general_context_create(function_store_malloc,
function_store_free, NULL);
+pcre_gen_ctx = pcre2_general_context_create(NULL, NULL, NULL);
 pcre_cmp_ctx = pcre2_compile_context_create(pcre_gen_ctx);
 pcre_mtc_ctx = pcre2_match_context_create(pcre_gen_ctx);
 }

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim 
details at http://www.exim.org/ ##

Reply via email to