[exim-dev] [Bug 1403] New: exim crashes while lookup result …

Top Page
Delete this message
Reply to this message
Author: Svilen Veselinov
Date:  
To: exim-dev
New-Topics: [exim-dev] [Bug 1403] exim crashes while lookup result for lsearch in file with to long lines, [exim-dev] [Bug 1403] exim crashes while lookup result for lsearch in file with to long lines
Subject: [exim-dev] [Bug 1403] New: exim crashes while lookup result for lsearch in file with to long lines
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1403
           Summary: exim crashes while lookup result for lsearch in file
                    with to long lines
           Product: Exim
           Version: 4.72
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: String expansion
        AssignedTo: nigel@???
        ReportedBy: spetrov@???
                CC: exim-dev@???



Exim crashes while lookup lsearch in file with to long lines,
file is in lsearch format:
<key>:<value>,<value>,...<value>

crash with file of ~= 6716 characters in line
works with file of <= 6687 characters in line

exim config acl:
-----------8<-----------------------------
  deny message = test deny
    condition = ${if \
      match{${lookup{$local_part@$domain}
lsearch*@{/etc/exim4/forwardtable}}}{^(.)*@(.)*\$}\
      {true}{false}}
-----------8<-----------------------------



debug output:
......
**** debug string too long - truncated ****
15:52:02  2059 expanding: ^(.)*@(.)*\$
15:52:02  2059    result: ^(.)*@(.)*$
Segmentation fault



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