- Don't pass DKIM compound log line as format string; (beo#1106); (bnc#692227).
OBS-URL: https://build.opensuse.org/package/show/server:mail/exim?expand=0&rev=104
This commit is contained in:
parent
fca71a0c39
commit
0150f23138
34
337e3505b0e6cd4309db6bf6062b33fa56e06cf8.diff
Normal file
34
337e3505b0e6cd4309db6bf6062b33fa56e06cf8.diff
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
From 337e3505b0e6cd4309db6bf6062b33fa56e06cf8 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Tom Kistner <tom@tahini.csx.cam.ac.uk>
|
||||||
|
Date: Sat, 30 Apr 2011 13:20:17 +0100
|
||||||
|
Subject: [PATCH] Bugzilla #1106: Don't pass DKIM compound log line as format string
|
||||||
|
|
||||||
|
---
|
||||||
|
src/src/dkim.c | 4 ++--
|
||||||
|
1 files changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/src/dkim.c b/src/src/dkim.c
|
||||||
|
index e25ff8c..2318cc3 100644
|
||||||
|
--- a/src/src/dkim.c
|
||||||
|
+++ b/src/src/dkim.c
|
||||||
|
@@ -108,7 +108,7 @@ void dkim_exim_verify_finish(void) {
|
||||||
|
/* Log a line for each signature */
|
||||||
|
uschar *logmsg = string_append(NULL, &size, &ptr, 5,
|
||||||
|
|
||||||
|
- string_sprintf( "DKIM: d=%s s=%s c=%s/%s a=%s ",
|
||||||
|
+ string_sprintf( "d=%s s=%s c=%s/%s a=%s ",
|
||||||
|
sig->domain,
|
||||||
|
sig->selector,
|
||||||
|
(sig->canon_headers == PDKIM_CANON_SIMPLE)?"simple":"relaxed",
|
||||||
|
@@ -176,7 +176,7 @@ void dkim_exim_verify_finish(void) {
|
||||||
|
}
|
||||||
|
|
||||||
|
logmsg[ptr] = '\0';
|
||||||
|
- log_write(0, LOG_MAIN, (char *)logmsg);
|
||||||
|
+ log_write(0, LOG_MAIN, "DKIM: %s", logmsg);
|
||||||
|
|
||||||
|
/* Build a colon-separated list of signing domains (and identities, if present) in dkim_signers */
|
||||||
|
dkim_signers = string_append(dkim_signers,
|
||||||
|
--
|
||||||
|
1.6.3.2
|
||||||
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 6 18:18:00 UTC 2011 - lars@samba.org
|
||||||
|
|
||||||
|
- Don't pass DKIM compound log line as format string; (beo#1106); (bnc#692227).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 10 18:30:11 UTC 2011 - poeml@cmdline.net
|
Thu Mar 10 18:30:11 UTC 2011 - poeml@cmdline.net
|
||||||
|
|
||||||
|
@ -63,6 +63,7 @@ Source30: eximstats-html-update.py
|
|||||||
Source31: eximstats.conf
|
Source31: eximstats.conf
|
||||||
Patch: exim-4.12-tail.patch
|
Patch: exim-4.12-tail.patch
|
||||||
Patch1: aa097c4c00f62487128d74f65c521f9e877b184f.diff
|
Patch1: aa097c4c00f62487128d74f65c521f9e877b184f.diff
|
||||||
|
Patch2: 337e3505b0e6cd4309db6bf6062b33fa56e06cf8.diff
|
||||||
%if !%{?build_with_mysql:1}0 && !%{?build_with_pgsql:1}0
|
%if !%{?build_with_mysql:1}0 && !%{?build_with_pgsql:1}0
|
||||||
|
|
||||||
%package -n eximon
|
%package -n eximon
|
||||||
@ -130,6 +131,7 @@ Authors:
|
|||||||
%setup -q -n exim-%{version}
|
%setup -q -n exim-%{version}
|
||||||
%patch
|
%patch
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch1 -p2
|
||||||
# build with fPIE/pie on SUSE 10.0 or newer, or on any other platform
|
# build with fPIE/pie on SUSE 10.0 or newer, or on any other platform
|
||||||
%if %{?suse_version:%suse_version}%{?!suse_version:99999} > 930
|
%if %{?suse_version:%suse_version}%{?!suse_version:99999} > 930
|
||||||
fPIE="-fPIE"
|
fPIE="-fPIE"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user