[exim-dev] [Bug 2405] New: ${eval:} expansion on x86 behaves…

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
New-Topics: [exim-dev] [Bug 2405] ${eval:} expansion on 32b platform behaves weird, [exim-dev] [Bug 2405] ${eval:} expansion on 32b platform behaves weird, [exim-dev] [Bug 2405] ${eval:} expansion on 32b platform behaves weird, [exim-dev] [Bug 2405] ${eval:} expansion on 32b platform behaves weird, [exim-dev] [Bug 2405] ${eval:} expansion on 32b platform behaves weird, [exim-dev] [Bug 2405] ${eval:} expansion on 32b platform behaves weird, [exim-dev] [Bug 2405] ${eval:} expansion on 32b platform behaves weird
Subject: [exim-dev] [Bug 2405] New: ${eval:} expansion on x86 behaves weird
https://bugs.exim.org/show_bug.cgi?id=2405

            Bug ID: 2405
           Summary: ${eval:} expansion on x86 behaves weird
           Product: Exim
           Version: 4.92
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: String expansion
          Assignee: nigel@???
          Reporter: nrittner@???
                CC: exim-dev@???


according to v4.92 changelog, "{eval } now uses 64-bit values on supporting
platforms.".
however, on x86 ${eval } seems to be somehow broken now:

${eval:0} returns big, random, negative integer values, which breaks
surrounding expansions/conditions .

$ exim -d-all+expand -be '${eval:-1}'
(...)
08:31:35 23148 ├──expanding: ${eval:-1}
08:31:35 23148 └─────result: -9214647270354452481

$ exim -d-all+expand -be '${eval:0}'
(...)
08:31:35 23148 ├──expanding: ${eval:0}
08:31:35 23148 └─────result: -9217250918183993344

when omiting the debug switch "-d" exim returns
similar weird numbers but approx. half of the size
as above.

$ exim -be '${eval:0}'
-4633992498014846976

system is gentoo with kernel 4.14.65, glibc 2.29.

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