Mailing List Archive

[Bug 3081] New: Segfault if errors_to is used with a fixed address
https://bugs.exim.org/show_bug.cgi?id=3081

Bug ID: 3081
Summary: Segfault if errors_to is used with a fixed address
Product: Exim
Version: N/A
Hardware: x86
OS: Linux
Status: NEW
Severity: bug
Priority: medium
Component: Address Rewriting
Assignee: unallocated@exim.org
Reporter: pjb1008@cam.ac.uk
CC: exim-dev@lists.exim.org

Created attachment 1475
--> https://bugs.exim.org/attachment.cgi?id=1475&action=edit
Extract local part and domain without modifying original string

Hi,

If errors_to is used with a fixed address, and mprotect is used to stop the
config being overwritten, then the address parsing code in rewrite_one() will
segfault.

This is because it temporarily replaces @ with NUL to extract the local part of
the address, but this is not possible if the config is protected.

Peter

--
You are receiving this mail because:
You are on the CC list for the bug.

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/