[exim-dev] [Bug 2844] ${perl} expansion can change global st…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: admin
Ημερομηνία:  
Προς: exim-dev
Αντικείμενο: [exim-dev] [Bug 2844] ${perl} expansion can change global state
https://bugs.exim.org/show_bug.cgi?id=2844

Heiko Schlittermann <hs@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hs@???


--- Comment #1 from Heiko Schlittermann <hs@???> ---
A boiled down variant of the configuration that lead to this issue:

    acl_smtp_rcpt = accept
    perl_startup = sub foo { local $SIG{ALRM} = sub { } }
    begin routers
        test:
            driver = accept
            condition = ${perl{foo}}
            transport = test
    begin transports
        test:
            driver = pipe
            command = sleep 2
            timeout = 1s


It can be tested easily using `<<<test exim -odf -C ... -v hans@???`,
the
transport dies with signal 14 (SIG_ALRM). But should end with a normal message,
stating a timeout occured.

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