summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add extern "C" { } block to xsltlocale.hHEADmasterDavid Kilzer2023-05-111-0/+8
| | | | Make it safe to include this file in C++ sources.
* autotools: Make xslt-config executableNick Wellnhofer2023-05-111-1/+1
| | | | Fixes #87.
* Add release dateNick Wellnhofer2023-05-081-1/+1
|
* cmake: Move version script blockv1.1.38Nick Wellnhofer2023-05-081-15/+15
|
* Release v1.1.38Nick Wellnhofer2023-05-062-2/+109
| | | | | Also bump the libexslt version to 0.8.21. Due to an oversight, this version was stuck at 0.8.20 since libxslt 1.1.32.
* cmake: Use version scriptNick Wellnhofer2023-05-061-1/+10
|
* autotools: Link with --undefined-versionNick Wellnhofer2023-05-066-2/+191
|
* Stop using xmlStringCurrentCharNick Wellnhofer2023-05-064-14/+80
| | | | xmlStringCurrentChar has been deprecated.
* doc: Remove unused cross-reference dataNick Wellnhofer2023-05-064-9200/+0
|
* doc: Regenerate API documentationNick Wellnhofer2023-05-0625-1101/+1158
|
* doc: Minor fixesNick Wellnhofer2023-05-063-4/+3
|
* doc: Update apibuild.pyNick Wellnhofer2023-05-061-1531/+1551
| | | | Copy the current version from libxml2.
* win32: Remove broken libxslt.def.srcNick Wellnhofer2023-05-065-354/+2
|
* Stop updating version scriptNick Wellnhofer2023-05-065-504/+1
| | | | | This removes the need for a lot of bookkeeping. Ultimately, the version script should be removed completely but this would break the ABI.
* python: Remove temp file when running tests/basic.pyNick Wellnhofer2023-04-262-1/+1
| | | | Fixes make distcheck.
* autoconf: Fix distribution after commit 971d5c4d.Nick Wellnhofer2023-04-261-0/+2
|
* attributes.h needs to include xsltInternals.hDavid Kilzer2023-04-161-0/+1
| | | | | | * libxslt/attributes.h: - Include xsltInternals.h for the definition of xsltTransformContextPtr.
* numbers: Fix floating point overflow in xsltFormatNumberConversionNick Wellnhofer2023-04-101-1/+13
| | | | Found by OSS-Fuzz.
* malloc-fail: Fix use-after-free in xsltCompileAttrNick Wellnhofer2023-03-271-8/+11
| | | | Found by OSS-Fuzz, see #84.
* Remove xpath.xml and seed targets from makefileJoey Arhar2023-03-261-1/+1
|
* malloc-fail: Fix null deref in xsltKeyFunctionNick Wellnhofer2023-03-231-0/+6
| | | | Found by OSS-Fuzz, see #84.
* malloc-fail: Fix memory leak in exclPrefixPushNick Wellnhofer2023-03-211-16/+8
| | | | Found by OSS-Fuzz, see #84.
* malloc-fail: Fix null deref when formatting numbersNick Wellnhofer2023-03-201-1/+2
| | | | | | Add an error check to make sure string conversion worked. Found by OSS-Fuzz, see #84.
* malloc-fail: Fix memory leak in xsltCompileAttrNick Wellnhofer2023-03-191-4/+12
| | | | | | Also report malloc failures. Found by OSS-Fuzz, see #84.
* malloc-fail: Fix use-after-free after xsltSetAttrVTsegmentNick Wellnhofer2023-03-191-3/+1
| | | | Found by OSS-Fuzz, see #84.
* malloc-fail: Fix another memory leak in xsltCompileStepPatternNick Wellnhofer2023-03-181-1/+2
| | | | Found by OSS-Fuzz, see #84.
* imports: Fix import/include cycle checkNick Wellnhofer2023-03-181-23/+37
| | | | | | | Check both imports and includes. Otherwise, undetected cycles would lead to call stack overflows. Found by OSS-Fuzz.
* transform: Avoid null deref on documents without root nodeNick Wellnhofer2023-03-161-0/+2
| | | | | | | Documents should always have a root node, but we shouldn't segfault if it's missing. Found by OSS-Fuzz.
* numbers: Fix memory leak in xsltFormatNumberConversionNick Wellnhofer2023-03-161-5/+5
| | | | | | Short-lived regression from f13329a6. Found by OSS-Fuzz.
* malloc-fail: Fix memory leak in xsltCompileStepPatternNick Wellnhofer2023-03-161-1/+3
| | | | Found by OSS-Fuzz, see #84.
* malloc-fail: Fix null deref in xsltDocumentFunctionNick Wellnhofer2023-03-151-1/+3
| | | | Found by OSS_Fuzz, see #84.
* malloc-fail: Fix double free in xsltCompMatchAddNick Wellnhofer2023-03-151-4/+0
| | | | Found by OSS-Fuzz, see #84.
* numbers: Fix another floating point overflowNick Wellnhofer2023-03-151-23/+29
| | | | Check for infinity after applying multiplier.
* numbers: Fix floating point overflow in xsltFormatNumberConversionNick Wellnhofer2023-03-151-1/+2
| | | | Found by OSS-Fuzz.
* date: Fix integer overflow in exsltDateFormatDurationNick Wellnhofer2023-03-091-4/+4
| | | | | | Make sure that months and days of durations can be negated. Found by OSS-Fuzz.
* fuzz: Improve fuzzersNick Wellnhofer2023-03-09147-457/+1162
| | | | | | | | - Fuzz with multiple inputs. - Generate XSLT seed corpus from tests. - Inject malloc failures. Fixes #84.
* numbers: Fix harmless integer sign changeNick Wellnhofer2023-03-091-1/+1
|
* malloc-fail: Fix memory leak in exsltSaxonExpressionFunctionNick Wellnhofer2023-02-281-7/+12
| | | | Found with libFuzzer, see #84.
* malloc-fail: Fix memory leak in xsltCopyTextNick Wellnhofer2023-02-281-1/+3
| | | | Found with libFuzzer, see #84.
* malloc-fail: Fix memory leak in xsltParseStylesheetPreserveSpaceNick Wellnhofer2023-02-261-1/+3
| | | | Found with libFuzzer, see #84.
* malloc-fail: Fix memory leak in exsltFuncRegisterImportFuncNick Wellnhofer2023-02-261-0/+1
| | | | Found with libFuzzer, see #84.
* malloc-fail: Fix memory leak in xsltResolveSASCallbackNick Wellnhofer2023-02-261-0/+10
| | | | Found with libFuzzer, see #84.
* malloc-fail: Fix double-free in xsltKeyFunctionNick Wellnhofer2023-02-261-2/+2
| | | | Found with libFuzzer, see #84.
* malloc-fail: Fix memory leak in xsltSaveResultToStringNick Wellnhofer2023-02-261-0/+2
| | | | Found with libFuzzer, see #84.
* malloc-fail: Fix memory leak in xsltLoadStyleDocumentNick Wellnhofer2023-02-261-0/+2
| | | | Found with libFuzzer, see #84.
* malloc-fail: Fix memory leak in xsltParseStylesheetOutputNick Wellnhofer2023-02-261-1/+3
| | | | Found with libFuzzer, see #84.
* malloc-fail: Fix null deref in xsltUnparsedEntityURIFunctionNick Wellnhofer2023-02-261-0/+4
| | | | Found with libFuzzer, see #84.
* malloc-fail: Fix out-of-bounds access in xsltEvalTemplateStringNick Wellnhofer2023-02-261-1/+1
| | | | | | | | The context node might be a namespace node, resulting in an OOB access when passed to xmlGetLineNo later. Pass the instruction node instead which is what xsltTransformError expects anyway. Found with libFuzzer, see #84.
* malloc-fail: Fix memory leak in xsltGetInheritedNsListNick Wellnhofer2023-02-261-19/+8
| | | | Found with libFuzzer, see #84.
* malloc-fail: Fix memory leak in xsltParseStylesheetAttributeSetNick Wellnhofer2023-02-261-2/+5
| | | | Found with libFuzzer, see #84.