summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2021-03-14 17:37:11 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2021-03-20 00:17:51 +0000
commit044152b326039eaaefc45e88ef501c4b7e615cef (patch)
treeb5abc216df72487c9da0a54c742ced3db5665270 /src
parent4729b6937b582a029147ba51298f5c300c5b1891 (diff)
DKIM: Force use of tainted mem for headers
Diffstat (limited to 'src')
-rw-r--r--src/src/pdkim/pdkim.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/src/pdkim/pdkim.c b/src/src/pdkim/pdkim.c
index f68324097..ca16e2b74 100644
--- 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;
}