]> git.pld-linux.org Git - packages/exim.git/blob - exim-CVE-2011-1764.patch
- patch resolving CVE-2011-1764 (remote vulnerability in DKIM)
[packages/exim.git] / exim-CVE-2011-1764.patch
1 diff -ur exim-4.75-orig/src/dkim.c exim-4.75/src/dkim.c
2 --- exim-4.75-orig/src/dkim.c   2011-03-22 09:00:51.000000000 +0100
3 +++ exim-4.75/src/dkim.c        2011-05-06 14:09:06.715883520 +0200
4 @@ -108,7 +108,7 @@
5      /* Log a line for each signature */
6      uschar *logmsg = string_append(NULL, &size, &ptr, 5,
7  
8 -      string_sprintf( "DKIM: d=%s s=%s c=%s/%s a=%s ",
9 +      string_sprintf( "d=%s s=%s c=%s/%s a=%s ",
10                        sig->domain,
11                        sig->selector,
12                        (sig->canon_headers == PDKIM_CANON_SIMPLE)?"simple":"relaxed",
13 @@ -176,7 +176,7 @@
14      }
15  
16      logmsg[ptr] = '\0';
17 -    log_write(0, LOG_MAIN, (char *)logmsg);
18 +       log_write(0, LOG_MAIN, "DKIM: %s", logmsg);
19  
20      /* Build a colon-separated list of signing domains (and identities, if present) in dkim_signers */
21      dkim_signers = string_append(dkim_signers,
22 Tylko w exim-4.75/src: dkim.c~
This page took 0.03246 seconds and 3 git commands to generate.