Mailing List Archive

[Bug 2677] local_part > 254 chars not pattern-matchable for rewrite
https://bugs.exim.org/show_bug.cgi?id=2677

Jeremy Harris <jgh146exb@wizmail.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Assignee|unallocated@exim.org |jgh146exb@wizmail.org
Status|NEW |ASSIGNED

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 2677] local_part > 254 chars not pattern-matchable for rewrite [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=2677

--- Comment #1 from Jeremy Harris <jgh146exb@wizmail.org> ---
For 4.93 onwards the maximum address (i.e. local_part@domain) length that can
be matched by an address-list element was restricted to 256. Previously the
arbitrary limit was multiple kB, but still present. We can easily expand the
value somewhat, but it must still be limited to avoid a possible remotely-
caused memory exhaustion attack.

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 2677] local_part > 254 chars not pattern-matchable for rewrite [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=2677

Git Commit <git@exim.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |git@exim.org

--- Comment #2 from Git Commit <git@exim.org> ---
Git commit:
https://git.exim.org/exim.git/commitdiff/183389fae10672e8d5ffb1f14f23a179798f483a

commit 183389fae10672e8d5ffb1f14f23a179798f483a
Author: Jeremy Harris <jgh146exb@wizmail.org>
AuthorDate: Wed Dec 16 19:07:51 2020 +0000
Commit: Jeremy Harris <jgh146exb@wizmail.org>
CommitDate: Wed Dec 16 19:07:51 2020 +0000

fix matching of long addresses. bug 2677
----
doc/doc-txt/ChangeLog | 6 +
src/src/match.c | 6 +-
src/src/rewrite.c | 23 +-
test/confs/0471 | 2 +
test/log/0471 | 4 +-
test/scripts/0000-Basic/0471 | 6 +
test/stderr/0471 | 966 +++++++++++++++++++++++++++++++++++--------
7 files changed, 835 insertions(+), 178 deletions(-)

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 2677] local_part > 254 chars not pattern-matchable for rewrite [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=2677

Heiko Schlichting <heiko@fu-berlin.de> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |heiko@fu-berlin.de

--- Comment #3 from Heiko Schlichting <heiko@fu-berlin.de> ---
I noticed the same problem and the commit fixed it for me.

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 2677] local_part > 254 chars not pattern-matchable for rewrite [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=2677

Jeremy Harris <jgh146exb@wizmail.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED

--- Comment #4 from Jeremy Harris <jgh146exb@wizmail.org> ---
Thanks for the confirm.

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##