Fix taint trap in parse_fix_phrase(). Bug 2617
[exim.git] / src / src / expand.c
index 41860d93bebf6f000bf0a4da6d805afefd17dc0f..7b8462eef7a7f1cffb7f3c18fab41f28644a21ff 100644 (file)
@@ -7589,13 +7589,10 @@ while (*s)
       prescribed by the RFC, if there are characters that need to be encoded */
 
       case EOP_RFC2047:
-        {
-        uschar buffer[2048];
         yield = string_cat(yield,
                            parse_quote_2047(sub, Ustrlen(sub), headers_charset,
-                             buffer, sizeof(buffer), FALSE));
+                             FALSE));
         continue;
-        }
 
       /* RFC 2047 decode */