SRS: fix crash in queryprogram router when compiled with EXPERIMENTAL_SRS
authorJeremy Harris <jgh146exb@wizmail.org>
Sat, 6 Feb 2016 16:22:00 +0000 (16:22 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Sat, 6 Feb 2016 16:22:00 +0000 (16:22 +0000)
doc/doc-txt/ChangeLog
src/src/routers/queryprogram.c

index b48b7b9888aa844ae56ffa7411741dca6fb3f63f..12a28dd206180c2f1312813267eb4422d1738cb2 100644 (file)
@@ -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
index 138062e16544efebdfe9758564f89349900c2138..018e4c831a2d2040108366ff6c1d1a7e49a41ebc 100644 (file)
@@ -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). */