[exim-dev] [Bug 1533] headers_remove items size-limited

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Git Commit
Datum:  
To: exim-dev
Alte Treads: [exim-dev] [Bug 1533] New: headers_remove items size-limited
Betreff: [exim-dev] [Bug 1533] headers_remove items size-limited
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1533




--- Comment #4 from Git Commit <git@???> 2015-01-29 18:17:05 ---
Git commit:
http://git.exim.org/exim.git/commitdiff/97f83c7a669a525a5f5964a5c0708c311673b87f

commit 97f83c7a669a525a5f5964a5c0708c311673b87f
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Thu Jan 29 17:42:47 2015 +0000
Commit:     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)



--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email