From: Jeremy Harris Date: Thu, 29 Jan 2015 17:42:47 +0000 (+0000) Subject: Fix truncation of items in headers_remove lists, this time in routers. Bug 1533 X-Git-Tag: exim-4_86_RC1~122 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/97f83c7a669a525a5f5964a5c0708c311673b87f Fix truncation of items in headers_remove lists, this time in routers. Bug 1533 --- diff --git a/src/src/routers/rf_get_munge_headers.c b/src/src/routers/rf_get_munge_headers.c index a4a13b04f..3125f315e 100644 --- a/src/src/routers/rf_get_munge_headers.c +++ b/src/src/routers/rf_get_munge_headers.c @@ -90,9 +90,8 @@ if (rblock->remove_headers) uschar * list = rblock->remove_headers; int sep = ':'; uschar * s; - uschar buffer[128]; - while ((s = string_nextinlist(&list, &sep, buffer, sizeof(buffer)))) + while ((s = string_nextinlist(&list, &sep, NULL, 0))) if (!(s = expand_string(s))) { if (!expand_string_forcedfail)