X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fsrc%2Fmime.c;h=d47b569827795cbfaeed88d6a47319c895bb4d77;hb=c31e16a54f91476ce97ccd4d53a18c5bced1b320;hp=cf537d7c187eed0d1879c1d4fdd828f900112224;hpb=db3f7b6972f3b003c0413b78afcfbe295ffe0b97;p=exim.git diff --git a/src/src/mime.c b/src/src/mime.c index cf537d7c1..d47b56982 100644 --- a/src/src/mime.c +++ b/src/src/mime.c @@ -499,8 +499,8 @@ int rc = OK; uschar * header = NULL; struct mime_boundary_context nested_context; -/* reserve a line buffer to work in */ -header = store_get(MIME_MAX_HEADER_SIZE+1); +/* reserve a line buffer to work in. Assume tainted data. */ +header = store_get(MIME_MAX_HEADER_SIZE+1, TRUE); /* Not actually used at the moment, but will be vital to fixing * some RFC 2046 nonconformance later... */