DKIM: Force use of tainted mem for headers
[exim.git] / src / src / pdkim / pdkim.c
index f68324097083d73f06ffb93ae4b671b42f246eff..ca16e2b74958f1728bc8e9a48c26fa6798f69263 100644 (file)
@@ -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;
 }