summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-01-29 17:42:47 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2015-01-29 17:42:47 +0000
commit97f83c7a669a525a5f5964a5c0708c311673b87f (patch)
tree298da063474e950e39416d83bad3ebefe9bb37eb
parent237638980ecece7f98c1dbdb9a02382d7f772dca (diff)
Fix truncation of items in headers_remove lists, this time in routers. Bug 1533
-rw-r--r--src/src/routers/rf_get_munge_headers.c3
1 files changed, 1 insertions, 2 deletions
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)