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

  1. Change foundin to "7cf8bdeb6c518974"
  2. Change icomment to:


    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. Change login to "anonymous"
  4. Change mimetype to "text/x-fossil-plain"
  5. Change severity to "Important"
  6. Change status to "Open"
  7. Change title to "test xpath-5.59 fails for 32bit binaries"
  8. Change type to "Code_Defect"