| Ticket Hash: | 156ce3b130e84fa4bdfef2000cc7354c36989be2 | ||
| Title: | test xpath-5.59 fails for 32bit binaries | ||
| Status: | Closed | Type: | Documentation |
| Severity: | Minor | Priority: | Immediate |
| Subsystem: | Resolution: | Fixed | |
| Last Modified: |
2019-07-16 21:29:45 6.42 years ago |
Created: |
2019-07-15 14:39:57 6.42 years ago |
| Version Found In: | 7cf8bdeb6c518974 | ||
| User Comments: | ||||
anonymous added on 2019-07-15 14:39:57:
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
rolf added on 2019-07-16 21:29:45: Thanks. I adjusted the test. | ||||