|
1ae68e40
|
2024-06-06T22:55:15
|
|
python: Fix build with disabled modules
|
|
15ed7566
|
2024-06-06T22:18:05
|
|
xinclude: Fix warning when building --without-xptr
|
|
e2919516
|
2024-06-06T19:28:23
|
|
xmllint: Fix build --with-valid --without-html
|
|
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.
|
|
897c73fe
|
2024-06-05T17:43:32
|
|
Add missing _cplusplus processing clause
|
|
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>
|
|
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>
|
|
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>
|
|
a7e26707
|
2024-06-03T14:04:44
|
|
parser: Don't overwrite OOM errors in xmlSBuf
|
|
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.
|
|
5198de4b
|
2024-05-31T13:42:08
|
|
fuzz: Make allocation in xmlBuildQName more likely
Limit size of static buffer in fuzzing mode.
|
|
11cd18d8
|
2024-05-31T13:31:09
|
|
valid: Check return value of xmlValidBuildAContentModel
Fixes return code in case of malloc failure.
|
|
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.
|
|
b7f30bae
|
2024-05-28T22:26:18
|
|
fuzz: Fix aarch64 build on OSS-Fuzz
|
|
e349709a
|
2024-05-21T21:07:16
|
|
build: Remove --with-fexceptions configuration option
|
|
f524993e
|
2024-05-21T20:56:55
|
|
build: Clean up configuration options
Remove run-debug from meson. Fix documentation.
|
|
11ce63f0
|
2024-05-21T20:38:52
|
|
build: Don't check for isascii
|
|
6f2a5973
|
2024-05-21T20:37:03
|
|
build: Don't check for uint32_t
|
|
5c9e0ebe
|
2024-05-21T20:27:45
|
|
autotools: Change ICU message
Only log non-default actions.
|
|
54629e0f
|
2024-05-21T20:25:23
|
|
autotools: Remove --with-coverage configuration option
|
|
e80f27fc
|
2024-05-21T18:37:57
|
|
build: Don't check for inttypes.h
This header isn't used.
|
|
dda69626
|
2024-05-21T18:31:37
|
|
autotools: Only check for networking headers if required
|
|
1371d0bd
|
2024-05-21T00:01:13
|
|
Update NEWS
|
|
bd7cafdb
|
2024-05-20T23:46:37
|
|
meson: Add some TODO comments
|
|
3018842c
|
2024-05-20T23:51:01
|
|
build: Disable HTTP support by default
|
|
5b1d7ff0
|
2024-05-20T22:51:44
|
|
parser: Remove redefinitions for legacy globals
|
|
e75e878e
|
2024-05-20T13:58:22
|
|
doc: Update and fix documentation
|
|
9523438a
|
2024-05-20T13:56:47
|
|
doc: Allow missing author
|
|
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.
|
|
b47a95fe
|
2024-05-20T13:10:41
|
|
parser: Don't make xmlCtxtErrIO public
|
|
caa8bb38
|
2024-05-19T19:31:54
|
|
fuzz: Move back to xmlSetExternalEntityLoader
xmlParserInputBufferCreateFilenameDefault can't report malloc failures.
|
|
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.
|
|
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.
|
|
f895af09
|
2024-05-14T16:08:37
|
|
fuzz: Remove OSS-Fuzz timeout option
Custom timeouts aren't fully supported on OSS-Fuzz.
|
|
ec2f68f1
|
2024-05-14T15:58:44
|
|
parser: Report malloc failure in xmlNewInputFromFile
|
|
8d215ac5
|
2024-05-14T15:55:18
|
|
xpath: Fix quadratic runtime accounting
|
|
59254626
|
2024-05-14T12:08:17
|
|
threads: Deprecate remaining ThrDef functions
|
|
b117a912
|
2024-05-13T13:42:43
|
|
fuzz: Enable xmllint fuzzer on OSS-Fuzz
|
|
0651ad66
|
2024-05-05T20:20:22
|
|
valid: Report malloc failure after xmlRegExecPushString
|
|
609d2666
|
2024-05-01T23:46:46
|
|
Stop defining _REENTRANT
This macro is obsolete, see `man feature_test_macros`.
|
|
b3cb41be
|
2024-05-13T12:18:08
|
|
fuzz: Add xmllint fuzzer
|
|
16fb1028
|
2024-05-10T12:00:12
|
|
reader: Fix error reporting with walker
Abort earlier in xmlTextReaderRead if an error was raised.
|
|
a846719b
|
2024-05-10T11:21:11
|
|
pattern: Fix memory leak xmlCompileStepPattern
|
|
4ff2dccf
|
2024-05-10T02:04:52
|
|
SAX2: Warn if URI resolution failed
|
|
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.
|
|
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.
|
|
3ad7f816
|
2024-05-08T11:49:31
|
|
[CVE-2024-34459] Fix buffer overread with `xmllint --htmlout`
Add a missing bounds check.
Fixes #720.
|
|
c83147bf
|
2024-05-08T03:04:15
|
|
xmllint: Fix --pedantic option
Regressed in 74c84a8c.
|
|
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.
|
|
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.
|
|
0bef1704
|
2024-05-07T12:15:24
|
|
c14n: Fix memory leak after malloc failure
|
|
5bfaab77
|
2024-05-06T18:03:01
|
|
fuzz: Fix reader fuzzer
|
|
72e9267c
|
2024-05-06T11:36:25
|
|
html: Fix memory leak after malloc failure
|
|
3afaff7e
|
2024-05-06T11:16:01
|
|
xmllint: Check for NULL input in xmlHTMLValidityError
`ctxt->input` can be NULL after commit 61b4c42f.
|
|
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.
|
|
907a5a48
|
2024-05-06T02:34:01
|
|
xmllint: Fix memory leak in walkDoc
|
|
a7854e26
|
2024-05-06T01:30:18
|
|
http: Don't pass NULL pointer as memcpy source
|
|
f4826c84
|
2024-05-06T00:33:19
|
|
xmllint: Add macro for error stream
Prepare for fuzzing.
|
|
d644a23e
|
2024-05-05T23:37:03
|
|
fuzz: Improve xml.dict
- Add standalone declaration
- Add doctype declaration
- Expand ATTLIST matrix in xml.dict
|
|
826baf00
|
2024-05-06T00:29:07
|
|
xmllint: Fix --insert option
Make sure that parent is an element when calling
xmlValidGetValidElements.
|
|
20a0de95
|
2024-05-06T00:08:54
|
|
xmllint: Fix --pushsmall option
This is only a debugging aid but also useful when fuzzing.
|
|
81611e06
|
2024-05-05T18:16:44
|
|
reader: Don't call xmlCtxtErrMemory with NULL ctxt
This can happen in "walker" mode.
|
|
a39e862b
|
2024-05-05T18:16:11
|
|
xmllint: Add explicit cast for -fsanitize=integer
|
|
a4c2b723
|
2024-05-05T17:26:31
|
|
io: Don't set close callback in xmlParserInputBufferCreateFd
|
|
422ae462
|
2024-05-05T15:20:15
|
|
xmllint: Make some strings const
|
|
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
|
|
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.
|
|
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.
|
|
ae23a4ce
|
2024-04-30T17:26:28
|
|
unicode: Deprecate most xmlUCSIs* functions
These don't seem to be used by downstream code.
|
|
e6379535
|
2024-04-30T17:00:01
|
|
Remove references to old mailing list
|
|
d2f623d1
|
2024-04-30T16:36:44
|
|
reader: Report malloc failure in xmlTextReaderConstValue
|
|
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.
|
|
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 '&"' could
create a reference to a predefined entity.
|
|
ae960cac
|
2023-11-07T21:08:01
|
|
Allow unlimited length decimals, integers etc.
|
|
bffef46c
|
2024-04-28T22:58:06
|
|
doc: Don't install example code
|
|
5f75c956
|
2024-04-28T22:57:02
|
|
doc: Remove tutorial
The tutorial was moved to the Wiki:
https://gitlab.gnome.org/GNOME/libxml2/-/wikis/Tutorial
|
|
d381e5de
|
2024-04-28T21:14:32
|
|
doc: Move doc/examples to example
|
|
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.
|
|
5e80f438
|
2024-04-28T17:33:19
|
|
tree: Deprecate xmlRegisterNodeDefault
This rarely used feature should be phased out.
|
|
88169bfd
|
2024-04-28T17:54:36
|
|
tree: Deprecate xmlSetCompressMode
|
|
05654cfe
|
2024-04-28T17:54:20
|
|
html: Deprecate htmlHandleOmittedElem
|
|
63ce5f9a
|
2024-04-28T17:32:35
|
|
Make some globals const
|
|
577fb0e3
|
2024-04-27T16:31:01
|
|
xinclude: Report malloc failure in xmlXIncludeMergeEntities
|
|
68e440ee
|
2024-04-24T22:52:06
|
|
fuzz: Use all test directories for XML seed corpus
It's probably better to add as many files as possible to the seed corpus
even if they're less specific to a fuzzer.
|
|
651465f9
|
2024-04-24T22:50:53
|
|
test: Remove unused test files
|
|
0977d7a3
|
2024-04-23T22:39:53
|
|
fuzz: Build with compression support on OSS-Fuzz
|
|
510c7988
|
2024-04-23T18:43:12
|
|
fuzz: Remove reader pass from XML fuzzers
The reader API is fuzzed separately now.
|
|
6641a7e8
|
2024-04-23T18:17:02
|
|
fuzz: Enable reader fuzzer on OSS-Fuzz
|
|
45fe9924
|
2024-04-22T17:12:54
|
|
parser: Don't create reference in xmlLookupGeneralEntity
This should only be done in xmlParseReference.
The handling of undeclared entities is still somewhat inconsistent. In
element content we create references even if entity substitution is
enabled. In attribute values undeclared entities are always ignored.
|
|
b717abdd
|
2024-04-22T15:42:39
|
|
parser: Consolidate error handling for undeclared entities
Always use XML_WAR_UNDECLARED_ENTITY with warning error level in
documents with external subset or parameter entities. Use
XML_ERR_UNDECLARED_ENTITY otherwise.
|
|
00336f0f
|
2024-04-20T20:54:41
|
|
cmake: Don't use tabs in CMakeLists.txt
Always use spaces and indent_size=4 except for Makefiles.
|
|
b62ccf7f
|
2024-04-16T13:24:12
|
|
fuzz: Add fuzzer for XML reader API
|
|
087a3464
|
2024-04-18T11:57:46
|
|
xinclude: Increase error count in xmlXIncludeErrMemory
|
|
7cbf609a
|
2024-04-18T12:57:15
|
|
reader: Make xmlTextReaderReadString non-recursive
Also report malloc failures.
Fixes #607.
|
|
f6964781
|
2024-04-22T12:23:39
|
|
reader: Rework xmlTextReaderRead{Inner,Outer}Xml
Use an xmlOutputBuffer. Report malloc failures.
|
|
cdb3103b
|
2024-04-22T12:23:06
|
|
reader: Report malloc failures
|
|
d2daf33e
|
2024-04-16T14:53:07
|
|
reader: Fix preservation of attributes
Don't use 'curnode' which might be an attribute or namespace node
which doesn't have an 'extra' member.
|
|
5aa56e73
|
2024-04-18T14:21:19
|
|
reader: Add tests for content accessors
|
|
6053f1ff
|
2023-11-02T13:57:54
|
|
Remove redundant size check
The condition size > UINT_MAX - 10 is already checked earlier, so the
check is always false.
|
|
fbea03f3
|
2024-04-19T15:22:30
|
|
tree: Remove another redundant check in xmlDOMWrapCloneNode
The node type was already checked earlier.
|