[exim-dev] [Bug 2838] exim binary crashes during testsuite w…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: admin
Date:  
À: exim-dev
Sujet: [exim-dev] [Bug 2838] exim binary crashes during testsuite with Bus Error on SPARC due to alignment issues
https://bugs.exim.org/show_bug.cgi?id=2838

--- Comment #13 from John Paul Adrian Glaubitz <glaubitz@???> ---
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.