[exim-dev] [Bug 1102] New: Divide by zero in eval/acl not re…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Marc Perkel
Dátum:  
Címzett: exim-dev
Új témák: [exim-dev] [Bug 1102] Exim should not abort on divide-by-zero, [exim-dev] [Bug 1102] Exim should not abort on divide-by-zero, [exim-dev] [Bug 1102] Exim should not abort on divide-by-zero, [exim-dev] [Bug 1102] Exim should not abort on divide-by-zero
Tárgy: [exim-dev] [Bug 1102] New: Divide by zero in eval/acl not reported in logs
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1102
           Summary: Divide by zero in eval/acl not reported in logs
           Product: Exim
           Version: 4.75
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: bug
          Priority: high
         Component: ACLs
        AssignedTo: nigel@???
        ReportedBy: marc@???
                CC: exim-dev@???



This piece of code

set acl_c_ratio = ${eval:$acl_c_bad_rcpt_count_60 * 100 /
$acl_c_out_sender_rate_60}

Fails when the variable $acl_c_out_sender_rate_60 = 0

as it should - but ....

It fails to show and kind of error in the logs. Should log a divide by zero
error.


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