Log

Author Commit Date CI Message
Nick Wellnhofer b5890cb4 2024-06-10T18:51:56 io: Remove xmlParserInputBufferCreateFilenameSafe
Nick Wellnhofer 1b1e8b3c 2024-06-10T16:39:57 io: Stop invoking generic error handler for IO errors
Nick Wellnhofer a331526c 2024-06-10T16:21:12 io: Don't report write errors twice
Nick Wellnhofer 717f3a7b 2024-06-10T18:50:28 io: Fix resetting xmlParserInputBufferCreateFilename hook We don't want to invoke the default function.
Nick Wellnhofer 47cbb6bb 2024-06-10T14:04:00 doc: Don't mention xmlNewInputURL
Nick Wellnhofer b46decdf 2024-06-12T15:58:36 Bump version
Nick Wellnhofer cdd2575f 2024-06-12T15:45:38 Release v2.13.0
Nick Wellnhofer d5523d27 2024-06-12T15:37:17 Update NEWS
Nick Wellnhofer 7a94fd0b 2024-06-12T13:35:20 doc: Update documentation
Nick Wellnhofer d3fafde7 2024-06-12T13:33:05 test: Update testapi.c
Nick Wellnhofer 4467b891 2024-06-12T13:32:32 Add missing argument checks for new API functions
Nick Wellnhofer 8318b5a6 2024-06-09T14:22:53 parser: Fix NULL checks for output arguments
Rosen Penev f2270863 2024-06-06T13:42:03 meson: convert boolean options to feature option Simpler. Seems like they're only disabled by minimum. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Andrew Potter ed3e53de 2024-06-06T10:50:19 meson: Pass LIBXML_STATIC in dependency
Nick Wellnhofer afe8f845 2024-06-07T00:01:16 runtest: Work around broken EUC-JP support in musl iconv Should fix #728.
Nick Wellnhofer 0cde1b78 2024-06-06T23:50:03 parser: Fix "Truncated multi-byte sequence" error Don't raise the error if decoding failed.
Nick Wellnhofer 02cbb2b6 2024-06-06T23:09:17 runtest: Suppress undeclared entity errors
Nick Wellnhofer 0d0cb4c2 2024-06-06T23:07:16 runtest: Check for IBM-1141 encoding handler Should fix #729.
Nick Wellnhofer 1ae68e40 2024-06-06T22:55:15 python: Fix build with disabled modules
Nick Wellnhofer 15ed7566 2024-06-06T22:18:05 xinclude: Fix warning when building --without-xptr
Nick Wellnhofer e2919516 2024-06-06T19:28:23 xmllint: Fix build --with-valid --without-html
Nick Wellnhofer 122b6130 2024-06-04T16:33:02 parser: Fix performance regression when parsing namespaces The namespace hash table didn't reuse deleted buckets, leading to quadratic behavior. Also ignore deleted buckets when resizing. Fixes #726.
Sadaf Ebrahimi 897c73fe 2024-06-05T17:43:32 Add missing _cplusplus processing clause
Rosen Penev 16d914a9 2024-06-03T17:09:17 meson: fix compilation with local binaries threads_dep is needed for runtest. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev 4b2f250a 2024-05-03T13:11:47 meson: don't use dl dependency on old meson dl dependency was introduced with version 0.62. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev 0160127f 2024-05-01T13:07:52 meson: fix usage as a subproject include directories must be passed to that projects can use headers. Also add override_dependencies to make sure that it's used when available as a subproject. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Nick Wellnhofer a7e26707 2024-06-03T14:04:44 parser: Don't overwrite OOM errors in xmlSBuf
Nick Wellnhofer f0d89158 2024-06-01T15:41:43 entities: Unconst predefined entities Partial revert of commit 63ce5f9a. For some reason, Chromium and WebKit set the etype member of predefined entities. This should be fixed first.
Nick Wellnhofer 5198de4b 2024-05-31T13:42:08 fuzz: Make allocation in xmlBuildQName more likely Limit size of static buffer in fuzzing mode.
Nick Wellnhofer 11cd18d8 2024-05-31T13:31:09 valid: Check return value of xmlValidBuildAContentModel Fixes return code in case of malloc failure.
Nick Wellnhofer ec09909d 2024-05-29T13:47:37 autotools: Fix pthread detection on FreeBSD pthread_join is defined by libc, so check for pthread_create instead. Should fix #725.
Nick Wellnhofer b7f30bae 2024-05-28T22:26:18 fuzz: Fix aarch64 build on OSS-Fuzz
Nick Wellnhofer e349709a 2024-05-21T21:07:16 build: Remove --with-fexceptions configuration option
Nick Wellnhofer f524993e 2024-05-21T20:56:55 build: Clean up configuration options Remove run-debug from meson. Fix documentation.
Nick Wellnhofer 11ce63f0 2024-05-21T20:38:52 build: Don't check for isascii
Nick Wellnhofer 6f2a5973 2024-05-21T20:37:03 build: Don't check for uint32_t
Nick Wellnhofer 5c9e0ebe 2024-05-21T20:27:45 autotools: Change ICU message Only log non-default actions.
Nick Wellnhofer 54629e0f 2024-05-21T20:25:23 autotools: Remove --with-coverage configuration option
Nick Wellnhofer e80f27fc 2024-05-21T18:37:57 build: Don't check for inttypes.h This header isn't used.
Nick Wellnhofer dda69626 2024-05-21T18:31:37 autotools: Only check for networking headers if required
Nick Wellnhofer 1371d0bd 2024-05-21T00:01:13 Update NEWS
Nick Wellnhofer bd7cafdb 2024-05-20T23:46:37 meson: Add some TODO comments
Nick Wellnhofer 3018842c 2024-05-20T23:51:01 build: Disable HTTP support by default
Nick Wellnhofer 5b1d7ff0 2024-05-20T22:51:44 parser: Remove redefinitions for legacy globals
Nick Wellnhofer e75e878e 2024-05-20T13:58:22 doc: Update and fix documentation
Nick Wellnhofer 9523438a 2024-05-20T13:56:47 doc: Allow missing author
Nick Wellnhofer a800e003 2024-05-20T13:54:09 doc: Allow missing desc if we have a retdesc Allow missing function descriptions if the return value is documented.
Nick Wellnhofer b47a95fe 2024-05-20T13:10:41 parser: Don't make xmlCtxtErrIO public
Nick Wellnhofer caa8bb38 2024-05-19T19:31:54 fuzz: Move back to xmlSetExternalEntityLoader xmlParserInputBufferCreateFilenameDefault can't report malloc failures.
Nick Wellnhofer 4fefba4c 2024-05-15T17:52:20 parser: Rework handling of undeclared entities Throw an error if entity substitution was requested. Now we only downgrade to a warning if - XML_PARSE_DTDLOAD wasn't specified, and - entity aren't substituted or XML_PARSE_NO_XXE was specified. Should fix #724.
Nick Wellnhofer 51b5d1e3 2024-05-15T16:09:05 fuzz: Don't enable zlib and liblzma with MSan We'd need our own instrumented builds of these libraries.
Nick Wellnhofer f895af09 2024-05-14T16:08:37 fuzz: Remove OSS-Fuzz timeout option Custom timeouts aren't fully supported on OSS-Fuzz.
Nick Wellnhofer ec2f68f1 2024-05-14T15:58:44 parser: Report malloc failure in xmlNewInputFromFile
Nick Wellnhofer 8d215ac5 2024-05-14T15:55:18 xpath: Fix quadratic runtime accounting
Nick Wellnhofer 59254626 2024-05-14T12:08:17 threads: Deprecate remaining ThrDef functions
Nick Wellnhofer b117a912 2024-05-13T13:42:43 fuzz: Enable xmllint fuzzer on OSS-Fuzz
Nick Wellnhofer 0651ad66 2024-05-05T20:20:22 valid: Report malloc failure after xmlRegExecPushString
Nick Wellnhofer 609d2666 2024-05-01T23:46:46 Stop defining _REENTRANT This macro is obsolete, see `man feature_test_macros`.
Nick Wellnhofer 3dea98ef 2024-05-09T21:10:28 xmllint: Don't free DTD with --dropdtd Entity references point to entities in the DTD, so only unlink the DTD and don't destroy it.
Nick Wellnhofer 3ad7f816 2024-05-08T11:49:31 [CVE-2024-34459] Fix buffer overread with `xmllint --htmlout` Add a missing bounds check. Fixes #720.
Nick Wellnhofer c83147bf 2024-05-08T03:04:15 xmllint: Fix --pedantic option Regressed in 74c84a8c.
Nick Wellnhofer 3665d667 2024-05-07T16:53:43 xmllint: Clean up option handling Remove unnecessary globals and make some local. Remove unnecessary calls to xmlTextReaderSetParserProp. Remove unused "oldout" code. Fix skipArgs.
Nick Wellnhofer b3cb41be 2024-05-13T12:18:08 fuzz: Add xmllint fuzzer
Nick Wellnhofer 16fb1028 2024-05-10T12:00:12 reader: Fix error reporting with walker Abort earlier in xmlTextReaderRead if an error was raised.
Nick Wellnhofer a846719b 2024-05-10T11:21:11 pattern: Fix memory leak xmlCompileStepPattern
Nick Wellnhofer 4ff2dccf 2024-05-10T02:04:52 SAX2: Warn if URI resolution failed
Nick Wellnhofer 4fe116eb 2024-05-10T00:05:44 parser: Don't report error on invalid URI Only fragment identifiers are an error. This removes the last user of xmlErrMsg*. Now every error reported by the parser should result in one of ctxt->wellFormed, ctxt->nsWellFormed or ctxt->valid being set to zero.
Nick Wellnhofer f8ff4d86 2024-05-07T15:23:03 xmllint: Rework parsing Merge a few code paths, making options like --valid or --htmlout work with some other options. Improve error handling.
Nick Wellnhofer 0bef1704 2024-05-07T12:15:24 c14n: Fix memory leak after malloc failure
Nick Wellnhofer 5bfaab77 2024-05-06T18:03:01 fuzz: Fix reader fuzzer
Nick Wellnhofer 72e9267c 2024-05-06T11:36:25 html: Fix memory leak after malloc failure
Nick Wellnhofer 3afaff7e 2024-05-06T11:16:01 xmllint: Check for NULL input in xmlHTMLValidityError `ctxt->input` can be NULL after commit 61b4c42f.
Nick Wellnhofer ef6e6012 2024-05-06T01:13:49 xmllint: Fix parsing of maxmem option Fix corner cases like 'xmllint --encode --maxmem 123'. Also fixes --path without LIBXML_VALID_ENABLED.
Nick Wellnhofer 907a5a48 2024-05-06T02:34:01 xmllint: Fix memory leak in walkDoc
Nick Wellnhofer a7854e26 2024-05-06T01:30:18 http: Don't pass NULL pointer as memcpy source
Nick Wellnhofer f4826c84 2024-05-06T00:33:19 xmllint: Add macro for error stream Prepare for fuzzing.
Nick Wellnhofer d644a23e 2024-05-05T23:37:03 fuzz: Improve xml.dict - Add standalone declaration - Add doctype declaration - Expand ATTLIST matrix in xml.dict
Nick Wellnhofer 826baf00 2024-05-06T00:29:07 xmllint: Fix --insert option Make sure that parent is an element when calling xmlValidGetValidElements.
Nick Wellnhofer 20a0de95 2024-05-06T00:08:54 xmllint: Fix --pushsmall option This is only a debugging aid but also useful when fuzzing.
Nick Wellnhofer 81611e06 2024-05-05T18:16:44 reader: Don't call xmlCtxtErrMemory with NULL ctxt This can happen in "walker" mode.
Nick Wellnhofer a39e862b 2024-05-05T18:16:11 xmllint: Add explicit cast for -fsanitize=integer
Nick Wellnhofer a4c2b723 2024-05-05T17:26:31 io: Don't set close callback in xmlParserInputBufferCreateFd
Nick Wellnhofer 422ae462 2024-05-05T15:20:15 xmllint: Make some strings const
Nick Wellnhofer 71a7a33e 2024-05-03T00:44:42 parser: Fix base URI of internal parameter entities Search parent inputs of internal parameter entities for base URI. Fixes a long-standing bug, which manifested in a different way after commit 955c177f. Reproduce with xmllint --noent xmlconf/eduni/errata-2e/E18.xml
Nick Wellnhofer fdc5ff36 2024-05-02T16:23:04 parser: Always throw entity errors if external DTD is loaded When parsing with XML_PARSE_DTDLOAD, missing entities are always an error. Also consolidate behavior when validating. See b717abdd.
Nick Wellnhofer 39e5b35b 2024-05-02T22:06:19 parser: Don't create undeclared entity refs in substitution mode We never want to create entity reference nodes if entity substitution is enabled. This also applies to undeclared entities.
Nick Wellnhofer ae23a4ce 2024-04-30T17:26:28 unicode: Deprecate most xmlUCSIs* functions These don't seem to be used by downstream code.
Nick Wellnhofer e6379535 2024-04-30T17:00:01 Remove references to old mailing list
Nick Wellnhofer d2f623d1 2024-04-30T16:36:44 reader: Report malloc failure in xmlTextReaderConstValue
Nick Wellnhofer b8597f46 2024-04-30T15:58:01 tree: Handle predefined entities in xmlBufGetEntityRefContent It's possible to create references to predefined entities using the tree API. This edge case was exposed by making predefined entities const in commit 63ce5f9a.
Nick Wellnhofer 619e2808 2024-04-30T15:53:08 tree: Don't call xmlNewCharRef in xmlNodeParseContent xmlNewCharRef also tries to handle strings like '&name;' but in xmlNodeParseContentInternal, we really want to use the possibly invalid name without modification. Otherwise, content like '&&quot;' could create a reference to a predefined entity.
Tomáš Ženčák ae960cac 2023-11-07T21:08:01 Allow unlimited length decimals, integers etc.
Nick Wellnhofer bffef46c 2024-04-28T22:58:06 doc: Don't install example code
Nick Wellnhofer 5f75c956 2024-04-28T22:57:02 doc: Remove tutorial The tutorial was moved to the Wiki: https://gitlab.gnome.org/GNOME/libxml2/-/wikis/Tutorial
Nick Wellnhofer d381e5de 2024-04-28T21:14:32 doc: Move doc/examples to example
Nick Wellnhofer 1cdfece1 2024-04-28T18:33:40 memory: Remove memory debugging This is useless compared to sanitizers or valgrind and has a considerable performance impact if enabled accidentally.
Nick Wellnhofer 5e80f438 2024-04-28T17:33:19 tree: Deprecate xmlRegisterNodeDefault This rarely used feature should be phased out.
Nick Wellnhofer 88169bfd 2024-04-28T17:54:36 tree: Deprecate xmlSetCompressMode
Nick Wellnhofer 05654cfe 2024-04-28T17:54:20 html: Deprecate htmlHandleOmittedElem
Nick Wellnhofer 63ce5f9a 2024-04-28T17:32:35 Make some globals const