git://git.exim.org
/
users
/
heiko
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4729b69
)
DKIM: Force use of tainted mem for headers
author
Jeremy Harris
<jgh146exb@wizmail.org>
Sun, 14 Mar 2021 17:37:11 +0000
(17:37 +0000)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Sat, 20 Mar 2021 00:17:51 +0000
(
00:17
+0000)
src/src/pdkim/pdkim.c
patch
|
blob
|
history
diff --git
a/src/src/pdkim/pdkim.c
b/src/src/pdkim/pdkim.c
index f68324097083d73f06ffb93ae4b671b42f246eff..ca16e2b74958f1728bc8e9a48c26fa6798f69263 100644
(file)
--- a/
src/src/pdkim/pdkim.c
+++ b/
src/src/pdkim/pdkim.c
@@
-1922,6
+1922,7
@@
if (dot_stuffing) ctx->flags = PDKIM_DOT_TERM;
/* The line-buffer is for message data, hence tainted */
ctx->linebuf = store_get(PDKIM_MAX_BODY_LINE_LEN, TRUE);
ctx->dns_txt_callback = dns_txt_callback;
+ctx->cur_header = string_get_tainted(36, TRUE);
return ctx;
}