X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/cb08e2f59f2166660abc998a0554e64c61d4a0f5..bafc62583bc4ded96e3a66d2fb98c9d7afaa8768:/src/src/parse.c diff --git a/src/src/parse.c b/src/src/parse.c index 7dfb9a7eb..8d689e88a 100644 --- a/src/src/parse.c +++ b/src/src/parse.c @@ -984,6 +984,11 @@ if (i < len) /* No non-printers; use the RFC 822 quoting rules */ +if (!len) + { + return string_copy_taint_function("", is_tainted(phrase)); + } + buffer = store_get(len*4, is_tainted(phrase)); s = phrase;