https://bugs.exim.org/show_bug.cgi?id=2533
Bug ID: 2533
Summary: Crashes using ${tr ...}
Product: Exim
Version: 4.93
Hardware: x86
OS: Linux
Status: NEW
Severity: bug
Priority: medium
Component: String expansion
Assignee: unallocated@???
Reporter: heiko@???
CC: exim-dev@???
Created attachment 1278
-->
https://bugs.exim.org/attachment.cgi?id=1278&action=edit
gdb backtrace
Exim 4.93.04 (and HEAD of master) crashes if ${tr} is used after $header_...
within ${sg} or ${tr}.
Can be reproduced with:
$ exim -be '${sg{$h_example:${tr{}{}{}}}{}{}}'
Segmentation fault
$exim -be '${tr{$h_example:${tr{}{}{}}{}{}}'
Segmentation fault
It crashes even without arguments for ${tr} which is a syntax error:
$exim -be '${sg{$h_example:${tr}}{}{}}'
Segmentation fault
git bisect points to commit acec9514b1006e352ef283f205ecec75a9b6ff0d
(2017-10-12). Older versions of exim evaluates without problems. Checked with
Exim 4.85.
gdb backtrace attached.
--
You are receiving this mail because:
You are on the CC list for the bug.