From: Jeremy Harris Date: Sat, 6 Feb 2016 16:22:00 +0000 (+0000) Subject: SRS: fix crash in queryprogram router when compiled with EXPERIMENTAL_SRS X-Git-Tag: exim-4_87_RC4~15 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/67e87fcf7078bb339e8ea1a81e9a12fa1c0687c8 SRS: fix crash in queryprogram router when compiled with EXPERIMENTAL_SRS --- diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog index b48b7b988..12a28dd20 100644 --- a/doc/doc-txt/ChangeLog +++ b/doc/doc-txt/ChangeLog @@ -166,6 +166,8 @@ JH/38 Fix cutthrough bug with body lines having a single dot. The dot was JH/39 Bug 1781: Fix use of private-keys having trailing '=' in the base-64. +JH/40 Fix crash in queryprogram router when compiled with EXPERIMENTAL_SRS. + Exim version 4.86 diff --git a/src/src/routers/queryprogram.c b/src/src/routers/queryprogram.c index 138062e16..018e4c831 100644 --- a/src/src/routers/queryprogram.c +++ b/src/src/routers/queryprogram.c @@ -223,6 +223,10 @@ rc = rf_get_munge_headers(addr, rblock, &addr_prop.extra_headers, &addr_prop.remove_headers); if (rc != OK) return rc; +#ifdef EXPERIMENTAL_SRS +addr_prop.srs_sender = NULL; +#endif + /* Get the fixed or expanded uid under which the command is to run (initialization ensures that one or the other is set). */