From: Jeremy Harris Date: Sun, 14 Mar 2021 17:37:11 +0000 (+0000) Subject: DKIM: Force use of tainted mem for headers X-Git-Url: https://git.exim.org/users/heiko/exim.git/commitdiff_plain/044152b326039eaaefc45e88ef501c4b7e615cef DKIM: Force use of tainted mem for headers --- 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; }