[exim] exim 4.96 segfault on match

Góra strony
Delete this message
Reply to this message
Autor: Victor Ustugov
Data:  
Dla: exim-users
Temat: [exim] exim 4.96 segfault on match
Hello.


exim 4.95, example 1:
# exim -be '${if match{abc}{\N^(\S+)\s*(\S.+)*$\N}{$1}{}}'
abc

That is ok


exim 4.95, example 2:
# exim -be '${if match{abc}{\N^(\S+)\s*(\S.+)*$\N}{$2}{}}'

That is ok


exim 96, example 1:
# exim -be '${if match{abc}{\N^(\S+)\s*(\S.+)*$\N}{$1}{}}'
abc

That is ok


exim 4.96, example 2:

expected empty output:
# exim -be '${if match{abc}{\N^(\S+)\s*(\S.+)*$\N}{$2}{}}'

real output:
# exim -be '${if match{abc}{\N^(\S+)\s*(\S.+)*$\N}{$2}{}}'
2022-11-10 23:14:51 [15433] SIGSEGV (fault address: 0x1)
2022-11-10 23:14:51 [15433] SIGSEGV (null pointer indirection)
2022-11-10 23:14:51 [15433] SIGSEGV (15433 initializing
)
Segmentation fault


--
Best wishes Victor Ustugov
mailto:victor@corvax.kiev.ua
public GnuPG/PGP key: https://victor.corvax.kiev.ua/corvax.asc