[exim-dev] [Bug 749] New: Regression: whitespace should comp…

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Phil Pennock
Data:  
Para: exim-dev
Temas novos: [exim-dev] [Bug 749] Regression: whitespace should compare numerically equal to zero, [exim-dev] [Bug 749] Regression: whitespace should compare numerically equal to zero, [exim-dev] [Bug 749] Regression: whitespace should compare numerically equal to zero
Asunto: [exim-dev] [Bug 749] New: Regression: whitespace should compare numerically equal to zero
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=749
           Summary: Regression: whitespace should compare numerically equal
                    to zero
           Product: Exim
           Version: 4.69
          Platform: Other
        OS/Version: All
            Status: NEW
          Keywords: work:tiny
          Severity: bug
          Priority: medium
         Component: String expansion
        AssignedTo: nigel@???
        ReportedBy: exim-dev@???
                CC: exim-dev@???



George R. Kasica in June 2008 experienced problems upgrading from Exim 4.63 to
Exim 4.69 because the fixes to guard against numerical overflow no longer
compared a string consisting only of whitespace as numerically equal to zero.

Fixes for overflow added in 4.64; in 4.66 ChangeLog entry PH/01 is:
  (i)  An empty string was always treated as zero by the numeric comparison
       operators. This behaviour has been restored.


The reporter's problem was a MySQL query returning a single space character in
a column normally containing numbers.

4.63 is still used, with patches, by some OS vendors. The next release should
probably fix this regression, even though the current behaviour is clean and
correct, to make life less stressful for OS packagers and their own
bug-handling systems.


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