1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-08-08 21:42:07 +03:00
Commit Graph

6 Commits

Author SHA1 Message Date
Nick Wellnhofer
77c26bad04 Don't set maxDepth in XPath contexts
The maximum recursion depth is hardcoded in libxml2 now.
2020-08-26 00:34:38 +02:00
Nick Wellnhofer
9ae2f94df1 Stop using maxParserDepth XPath limit
This will be removed again from libxml2.
2020-08-17 03:42:11 +02:00
Nick Wellnhofer
db4b4e56f0 Also search parent dir for source XML when fuzzing
This should solve problems when fuzzing a shared library build where
binaries are placed in .libs.
2020-01-10 12:56:13 +01:00
Nick Wellnhofer
4fcf6f564c Improve handling of invalid UTF-8 in format-number
Output prefixes and suffixes codepoint by codepoint instead of byte by
byte, like they were parsed before. Otherwise quote characters found in
continuation bytes of invalid UTF-8 could mess up the character count
which excludes quote characters.
2019-09-15 13:19:55 +02:00
Nick Wellnhofer
845ac6bf82 Improve fuzzers
- Add more test cases to XSLT seed corpus.
- Improve some test cases in seed corpus.
- Remove some simple test cases from XSLT corpus.
- Call xmlStopParser in XML error handler.
- Improve dictionaries.
- Remove overlong items from dictionary for AFL.
2019-05-20 13:08:54 +02:00
Nick Wellnhofer
311da8c886 Reorganize fuzzing code
- Move core fuzzing code into a single file fuzz.c
- Add tests for fuzz targets
- Reduce XSLT operation limit
2019-05-08 12:21:50 +02:00