Skip to content

Commit 7eb867a

Browse files
committed
Update to 2.14.5
1 parent 98dd945 commit 7eb867a

21 files changed

Lines changed: 158 additions & 71 deletions

HTMLparser.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ htmlValidateUtf8(xmlParserCtxtPtr ctxt, const xmlChar *str, size_t len,
438438
/* Only report the first error */
439439
if ((ctxt->input->flags & XML_INPUT_ENCODING_ERROR) == 0) {
440440
htmlParseErr(ctxt, XML_ERR_INVALID_ENCODING,
441-
"Invalid bytes in character encoding", NULL, NULL);
441+
"Invalid bytes in character encoding\n", NULL, NULL);
442442
ctxt->input->flags |= XML_INPUT_ENCODING_ERROR;
443443
}
444444

@@ -5738,6 +5738,11 @@ htmlCtxtSetOptionsInternal(xmlParserCtxtPtr ctxt, int options, int keepMask)
57385738
*/
57395739
ctxt->keepBlanks = (options & HTML_PARSE_NOBLANKS) ? 0 : 1;
57405740

5741+
/*
5742+
* Recover from character encoding errors
5743+
*/
5744+
ctxt->recovery = 1;
5745+
57415746
/*
57425747
* Changing SAX callbacks is a bad idea. This should be fixed.
57435748
*/

NEWS

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
NEWS file for libxml2
22

3+
v2.14.5: Jul 10 2025
4+
5+
### Regressions
6+
7+
- html: Don't abort on encoding errors
8+
- parser: Fix handling of invalid char refs in recovery mode
9+
- xmllint: Print document even in case of XInclude errors
10+
- xmllint: Fix --xinclude --path
11+
12+
### Security
13+
14+
- schematron: Fix memory safety issues in xmlSchematronReportOutput
15+
- Schematron: Fix null pointer dereference leading to DoS (Michael Mann)
16+
- Fix potential buffer overflows of interactive shell (Michael Mann)
17+
18+
### Improvements
19+
20+
- parser: Fix xmlCtxtIsStopped
21+
22+
### Build systems and portability
23+
24+
- schemas: Fix compilation with pre-C99 MSVC
25+
- cmake: Add missing endif() in libxml2-config.cmake.in
26+
- Fix CMake iconv handling after change to private dependency (Markus Rickert)
27+
28+
329
v2.14.4: Jun 16 2025
430

531
### Regressions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
libxml2 Windows build with Visual Studio.
44

5-
This version is libxml2-2.14.4.
5+
This version is libxml2-2.14.5.
66

77
Note that LZMA support is only available for VS2013 or later.
88

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.14.4
1+
2.14.5

distfiles/download.url

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
https://download.gnome.org/sources/libxml2/2.14/libxml2-2.14.4.tar.xz
1+
https://download.gnome.org/sources/libxml2/2.14/libxml2-2.14.5.tar.xz

distfiles/libxml2-2.14.4.tar.xz

-2.22 MB
Binary file not shown.
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
5873615e8a9ecbf5c8857c4312ee05d6 Copyright
2-
593527269e72117a954aa57d433736ab HTMLparser.c
2+
fbf0f868450b8ed03d810b887209afcc HTMLparser.c
33
02015071c39bef3988175a54921b75cf HTMLtree.c
4-
7735151db0506855dceecb1254a32a8f NEWS
4+
068389a8c61b49c923a330edfb854d93 NEWS
55
826516c7a30d76598dca45cc14bce41a README.libxml2.md
66
bfb3abb8bd95e33844e48cc5ccecc7ab SAX2.c
7-
f520edc86e45214b1c37efa3cc866047 VERSION
7+
160206844aa155ffd38bff89c27989e5 VERSION
88
0bbf040d005dc21c6c18801bb50c9677 buf.c
99
8dd775089733bafb67ab4381a3b0d678 c14n.c
1010
e7a49d2c72750c90a9d024951a717414 catalog.c
@@ -89,26 +89,26 @@ e9abcc62adf1d6d1928b3ab09fcbd219 libxml.h
8989
91becf3bf916098d90a6b8dd32f4ce26 lintmain.c
9090
43ff7214436ef334d4ac37cc05391890 list.c
9191
3b672d1cebfb584afd6e698fd402944e nanohttp.c
92-
94f9fe94f6027efb5290c168eb86dfc8 parser.c
93-
ec3d964a25e6bfd39f5e055643575148 parserInternals.c
92+
ff19e63d1692240f664a8351564631ae parser.c
93+
5f19b074b31156e4992b683aae86622f parserInternals.c
9494
2e2f84d12f5b5bf7dbeb82e757950a80 pattern.c
9595
6f2afc821223df750e66988d191b3814 relaxng.c
9696
209388fe5ba75e7d5196e742ae44692b runsuite.c
97-
29eb4c6e6e7cd5d695c5dd478a71c056 runtest.c
97+
d3245935ac8d41379f0c1c006e779538 runtest.c
9898
c83897a4ef0aa1cbb253f3aec705e57e runxmlconf.c
99-
38b7cf89b954d622e7c35235b9d553f2 schematron.c
100-
139d1e8550054f1a91904df656f54aeb shell.c
99+
dc3b80ac831f4548116cde4648b797a2 schematron.c
100+
0feb17603e6bbaf6cab725ec47d20d18 shell.c
101101
0e1c5d81ce7d43fd84728bc89ab663a8 testModule.c
102102
300f7d5850dbf8f4d4752615ee7d4ed5 testapi.c
103103
6edb2d802942221a4897d90e6088a5fe testchar.c
104104
152232c8e136575c261229ccb3393c09 testdict.c
105105
6a3e7cbf9864c04639a1a8ac0c388ea2 testdso.c
106106
0d55ba9082640c786726b036ddba4b4a testlimits.c
107-
91ee87682ed3ab10373459e18f35d015 testparser.c
107+
8ef48c3b144c5a95a9ca72a049b5c1fc testparser.c
108108
e51f257be1b98c5a4eeb36880ac33612 testrecurse.c
109109
bd32c7d1228161f2238acd5dcbc61f48 threads.c
110110
97968cacb07d5faec9b175a0d140f913 timsort.h
111-
8662b9e2d00f6f5d2a5c8b9f969e307c tree.c
111+
1594cd86a8fe1555b8e2c8e22bc75447 tree.c
112112
6568350c0cf452133acf9a18557a20ac uri.c
113113
4b064c268011fecb1229a6881c35bc56 valid.c
114114
9c005ff633d641334c935d5ed9c560c5 win32/config.h
@@ -117,14 +117,14 @@ bd32c7d1228161f2238acd5dcbc61f48 threads.c
117117
7ba9bd3faa15039b66b2ce63577b8c8e xlink.c
118118
d6e26158888efb78f2220462f46d46a9 xmlIO.c
119119
a746369f9f1667e6f02ec0094eab54c5 xmlcatalog.c
120-
fd8375f38b5ff6dc929dec42794a892c xmllint.c
120+
f87e3b97edb7984f6fdf9965d6564647 xmllint.c
121121
da3b1b8cacd1e6d5dc8fd39a6a0d3689 xmlmemory.c
122122
b438c22cebc47ac8844e8a6ce7496152 xmlmodule.c
123123
e615d295e99a3abab92980f1c1b503e6 xmlreader.c
124124
8d569adc59ca3c0b3478f02b09d35a31 xmlregexp.c
125125
6e2cfdce0eab6f7de85b1645eef70eca xmlsave.c
126126
062620d60d0d5e5b7b004622ff5449a9 xmlschemas.c
127-
80ef1acabf48e79a4829884b78da8481 xmlschemastypes.c
127+
0083828483aae4e5062da67385c6d995 xmlschemastypes.c
128128
94e990955eb6a68a37d6cb6815ad7d27 xmlstring.c
129129
6bb5de44558e539f98325ca8f122d6ef xmlunicode.c
130130
a215682759bf8304f0cafd5b8ded31e1 xmlwriter.c

distfiles/libxml2-2.14.5.tar.xz

2.22 MB
Binary file not shown.

0 commit comments

Comments
 (0)