diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/src/parse.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; |