Overview

Artifact ID: a61df9dd592d589147d5aab9ba1a023516a639baee933cb25d6e5a8d15c60231
Ticket: 156ce3b130e84fa4bdfef2000cc7354c36989be2
test xpath-5.59 fails for 32bit binaries
User & Date: anonymous 2019-07-15 14:39:57
Changes

  1. foundin changed to: "7cf8bdeb6c518974"
  2. icomment:
    Hello,
    
    If tdom is compiled for 32bit binaries, test xpath-5.59 (in tests/xpath.test) fails:
    
    ==== xpath-5.59 afl-fuzz found floating point exception in mod calulation FAILED
    ==== Contents of test case:
    
        set doc [dom createDocument doc]
        set result [list]
        lappend result [$doc selectNodes "1111111111111 mod -1"]
        lappend result [$doc selectNodes "111111111111111111111111111111111111111 mod -1"]
        $doc delete
        set result
    
    ---- Result was:
    NaN NaN
    ---- Result should have been (exact matching):
    0 NaN
    ==== xpath-5.59 FAILED
    
  3. login: "anonymous"
  4. mimetype: "text/x-fossil-plain"
  5. severity changed to: "Important"
  6. status changed to: "Open"
  7. title changed to: "test xpath-5.59 fails for 32bit binaries"
  8. type changed to: "Code_Defect"