Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| b8313b58 | 2023-12-26 21:59:08 | xpath: Rewrite substring-before and substring-after Don't use buffers. Check malloc failures. | ||
| 57b81c20 | 2022-03-05 18:20:29 | Normalize XPath strings in-place Simplify the code and fix a potential memory leak. Fixes #343. | ||
| 30a6533e | 2019-03-08 12:15:17 | Fix float casts in xmlXPathSubstringFunction Rewrite conversion of double to int in xmlXPathSubstringFunction, adding range checks to avoid undefined behavior. Make sure to add start and length as floating-point numbers before converting to int. Fix a bug when rounding negative start indices. Remove unneeded calls to xmlXPathIs{Inf,NaN} and rely on IEEE math instead. Avoid computing the string length. xmlUTF8Strsub works as expected if the length of the requested substring exceeds the input. Found with libFuzzer and UBSan. | ||
| 7482f41f | 2017-06-01 22:00:19 | Check for integer overflow in xmlXPathFormatNumber Check for overflow before casting double to int. Found with afl-fuzz and UBSan. | ||
| 9e412302 | 2002-06-10 15:59:44 | patch from Richard Jinks for XPath substring() function new set of tests * xpath.c: patch from Richard Jinks for XPath substring() function * result/XPath/expr/strings test/XPath/expr/strings: new set of tests Daniel | ||
| 0eafdef9 | 2002-04-10 16:14:34 | another patch from Richard Jinks for substring conformance update of the * xpath.c: another patch from Richard Jinks for substring conformance * test/XPath/expr/floats test/XPath/expr/strings result/XPath/expr/floats result/XPath/expr/strings: update of the test suite to check those. Daniel | ||
| 21458c85 | 2002-03-27 16:12:22 | more patches from Richard Jinks Updated tests though they show a * trionan.c trionan.h xpath.c: more patches from Richard Jinks * test/XPath/expr/compare test/XPath/expr/equality test/XPath/expr/floats test/XPath/expr/functions test/XPath/expr/strings result/XPath/expr/compare result/XPath/expr/equality result/XPath/expr/floats result/XPath/expr/functions result/XPath/expr/strings: Updated tests though they show a divergence on Linux Daniel | ||
| 1566d3a9 | 1999-07-15 14:24:29 | Added XPath code (http://www.w3.org/TR/xpath), updated HTML support and docs, Daniel |