[exim-cvs] Fix truncation of items in headers_remove lists, …

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Exim Git Commits Mailing List
Date:  
À: exim-cvs
Sujet: [exim-cvs] Fix truncation of items in headers_remove lists, this time in routers. Bug 1533
Gitweb: http://git.exim.org/exim.git/commitdiff/97f83c7a669a525a5f5964a5c0708c311673b87f
Commit:     97f83c7a669a525a5f5964a5c0708c311673b87f
Parent:     237638980ecece7f98c1dbdb9a02382d7f772dca
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Thu Jan 29 17:42:47 2015 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Thu Jan 29 17:42:47 2015 +0000


    Fix truncation of items in headers_remove lists, this time in routers.  Bug 1533
---
 src/src/routers/rf_get_munge_headers.c |    3 +--
 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 a4a13b0..3125f31 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)