Skip to content

Commit 8bc732e

Browse files
author
Jeremy Harris
committed
Remove limit on remove_headers item size. Bug 1533
1 parent 9acf6b9 commit 8bc732e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

doc/doc-txt/ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ JH/05 Fix results-pipe from transport process. Several recipients, combined
4444
to notice due to the introduction of conection certificate information,
4545
the item size being so much larger. Found and fixed by Wolfgang Breyha.
4646

47+
JH/06 Bug 1533: Fix truncation of items in headers_remove lists. A fixed
48+
size buffer was used, resulting in syntax errors when an expansion
49+
exceeded it.
50+
51+
4752
Exim version 4.84
4853
-----------------
4954
TL/01 Bugzilla 1506: Re-add a 'return NULL' to silence complaints from static

src/src/transport.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -643,8 +643,7 @@ for (h = header_list; h != NULL; h = h->next) if (h->type != htype_old)
643643
{
644644
int sep = ':'; /* This is specified as a colon-separated list */
645645
uschar *s, *ss;
646-
uschar buffer[128];
647-
while ((s = string_nextinlist(&list, &sep, buffer, sizeof(buffer))))
646+
while ((s = string_nextinlist(&list, &sep, NULL, 0)))
648647
{
649648
int len;
650649

0 commit comments

Comments
 (0)