Skip to content

Commit 6ca4efb

Browse files
committed
Update to libxslt-1.1.34.
1 parent e2eef80 commit 6ca4efb

34 files changed

+730
-437
lines changed

NEWS

+146-1
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,154 @@
55
http://xmlsoft.org/XSLT/news.html
66

77
See the git page at
8-
http://git.gnome.org/browse/libxslt/
8+
https://gitlab.gnome.org/GNOME/libxslt
99

1010
to get a description of the recent commits.Those are the public releases made:
11+
v1.1.33: Jan 03 2019:
12+
- Portability:
13+
Variables need 'extern' in static lib on Cygwin (Nick Wellnhofer),
14+
Really declare dllexport/dllimport for Cygwin (Michael Haubenwallner),
15+
Fix callback signatures in Python bindings (Nick Wellnhofer),
16+
Fix transform callback signatures (Nick Wellnhofer),
17+
Fix extension callback signatures (Nick Wellnhofer),
18+
Fix deallocator signatures (Nick Wellnhofer),
19+
Fix XPath callback signatures (Nick Wellnhofer),
20+
Fix hash callback signatures (Nick Wellnhofer)
21+
22+
- Bug Fixes:
23+
Don't cache direct evaluation of patterns with variables (Nick Wellnhofer),
24+
Move function result RVTs to context variable (Nick Wellnhofer),
25+
Fix EXSLT functions returning RVTs from outer scopes (Nick Wellnhofer),
26+
Fix handling of RVTs returned from nested EXSLT functions (Nick Wellnhofer),
27+
Fix typos (Nick Wellnhofer)
28+
29+
- Improvements:
30+
Run Travis ASan tests with "sudo: required" (Nick Wellnhofer)
31+
32+
- Cleanups:
33+
Remove doc/libxslt-decl.txt (Nick Wellnhofer),
34+
Docs for 1.1.32 release (Daniel Veillard)
35+
36+
37+
38+
1.1.32: Nov 02 2017:
39+
- Portability:
40+
Add missing limits.h include (Nick Wellnhofer),
41+
Also run Windows tests with --maxdepth 200 (Nick Wellnhofer),
42+
Disable some MSVC warnings (Nick Wellnhofer),
43+
Fix deprecated Travis compiler flag (Nick Wellnhofer),
44+
Run general tests with maxdepth=200 (Nick Wellnhofer),
45+
Use _WIN32 macro instead of WIN32 (Nick Wellnhofer),
46+
Fix xsltproc newlines on Windows (Nick Wellnhofer),
47+
Fix Windows compiler warnings (Nick Wellnhofer),
48+
Rework locale feature tests (Nick Wellnhofer)
49+
50+
- Improvements:
51+
Rebuild win32/libxslt.def.src (Nick Wellnhofer),
52+
Fix compiler warnings in Python bindings (Nick Wellnhofer)
53+
54+
55+
56+
v1.1.31: Oct 06 2017:
57+
- Portability:
58+
Fix win32/configure.js (Nick Wellnhofer)
59+
60+
- Bug Fixes:
61+
Fix pkg-config related regressions in configure script (Nick Wellnhofer)
62+
63+
- Improvements:
64+
Adjust expected error output for libxml2 changes (Nick Wellnhofer),
65+
Misc autoconf updates (Nick Wellnhofer)
66+
67+
68+
69+
v1.1.30: Sep 04 2017:
70+
- Documentation:
71+
Misc doc fixes (Nick Wellnhofer)
72+
73+
- Portability:
74+
Look for libxml2 via pkg-config first (Elliott Sales de Andrade),
75+
Change default SOPREFIX on Windows to "bin" (Nick Wellnhofer),
76+
Add WIN32_EXTRA_LDFLAGS to tests/plugins/Makefile.am (Michael Haubenwallner)
77+
78+
- Bug Fixes:
79+
Also fix memory hazards in exsltFuncResultElem (Nick Wellnhofer),
80+
Fix NULL deref in xsltDefaultSortFunction (Nick Wellnhofer),
81+
Fix memory hazards in exsltFuncFunctionFunction (Nick Wellnhofer),
82+
Fix memory leaks in EXSLT error paths (Nick Wellnhofer),
83+
Fix memory leak in str:concat with empty node-set (Nick Wellnhofer),
84+
Fix memory leaks in error paths (Nick Wellnhofer),
85+
Switch to xmlUTF8Strsize in numbers.c (Nick Wellnhofer),
86+
Fix NULL pointer deref in xsltFormatNumberFunction (Nick Wellnhofer),
87+
Fix UTF-8 check in str:padding (Nick Wellnhofer),
88+
Fix xmlStrPrintf argument (Nick Wellnhofer),
89+
Check for overflow in _exsltDateParseGYear (Nick Wellnhofer),
90+
Fix double to int conversion (Nick Wellnhofer),
91+
Check for overflow in exsltDateParseDuration (Nick Wellnhofer),
92+
Change version of xsltMaxVars back to 1.0.24 (Nick Wellnhofer),
93+
Disable xsltCopyTextString optimization for extensions (Nick Wellnhofer),
94+
Create DOCTYPE for HTML version 5 (Nick Wellnhofer),
95+
Make xsl:decimal-format work with namespaces (Nick Wellnhofer),
96+
Remove norm:localTime extension function (Nick Wellnhofer),
97+
Check for integer overflow in xsltAddTextString (Nick Wellnhofer),
98+
Detect infinite recursion when evaluating function arguments (Nick Wellnhofer),
99+
Fix memory leak in xsltElementAvailableFunction (Nick Wellnhofer),
100+
Fix for pattern predicates calling functions (Nick Wellnhofer),
101+
Fix cmd.exe invocations in Makefile.mingw (Nick Wellnhofer),
102+
Don't try to install index.sgml (Nick Wellnhofer),
103+
Fix symbols.xml (Nick Wellnhofer),
104+
Fix heap overread in xsltFormatNumberConversion (Nick Wellnhofer),
105+
Fix <xsl:number level="any"/> for non-element nodes (Nick Wellnhofer),
106+
Fix unreachable code in xsltAddChild (mahendra.n),
107+
Change version number in xsl:version warning (Nick Wellnhofer),
108+
Avoid infinite recursion after failed param evaluation (Nick Wellnhofer),
109+
Stop if potential recursion is detected (Nick Wellnhofer),
110+
Consider built-in templates in apply-imports (Nick Wellnhofer),
111+
Fix precedence with multiple attribute sets (Nick Wellnhofer),
112+
Rework attribute set resolution (Nick Wellnhofer)
113+
114+
- Improvements:
115+
Add .travis.yml (Nick Wellnhofer),
116+
Silence tests a little (Nick Wellnhofer),
117+
Set LIBXML_SRC to absolute path (Nick Wellnhofer),
118+
Add missing #include (Nick Wellnhofer),
119+
Adjust expected error messages in tests (Nick Wellnhofer),
120+
Make xsltDebug more quiet (Nick Wellnhofer),
121+
New-line terminate error message that missed this convention (Jan Pokorn�),
122+
Use xmlBuffers in EXSLT string functions (Nick Wellnhofer),
123+
Switch to xmlUTF8Strsize in EXSLT string functions (Nick Wellnhofer),
124+
Check for return value of xmlUTF8Strlen (Nick Wellnhofer),
125+
Avoid double/long round trip in FORMAT_ITEM (Nick Wellnhofer),
126+
Separate date and duration structs (Nick Wellnhofer),
127+
Check for overflow in _exsltDateDifference (Nick Wellnhofer),
128+
Clamp seconds field of durations (Nick Wellnhofer),
129+
Change _exsltDateAddDurCalc parameter types (Nick Wellnhofer),
130+
Fix date:difference with time zones (Nick Wellnhofer),
131+
Rework division/remainder arithmetic in date.c (Nick Wellnhofer),
132+
Remove exsltDateCastDateToNumber (Nick Wellnhofer),
133+
Change internal representation of years (Nick Wellnhofer),
134+
Optimize IS_LEAP (Nick Wellnhofer),
135+
Link libraries with libm (Jussi Kukkonen),
136+
Rename xsltCopyTreeInternal to xsltCopyTree (Nick Wellnhofer),
137+
Update linker version script (Nick Wellnhofer),
138+
Add local wildcard to version script (Nick Wellnhofer),
139+
Make some symbols static (Nick Wellnhofer),
140+
Remove redundant NULL check in xsltNumberComp (mahendra.n),
141+
Fix forwards compatibility for imported stylesheets (Nick Wellnhofer),
142+
Reduce warnings in forwards-compatible mode (Nick Wellnhofer),
143+
Precompute XSLT elements after preprocessing (Nick Wellnhofer),
144+
Fix whitespace in xsltParseStylesheetTop (Nick Wellnhofer),
145+
Consolidate recursion checks (Nick Wellnhofer),
146+
Treat XSLT_STATE_STOPPED same as errors (Nick Wellnhofer),
147+
Make sure that XSLT_STATE_STOPPED isn't overwritten (Nick Wellnhofer),
148+
Add comment regarding built-in templates and params (Nick Wellnhofer),
149+
Rewrite memory management of local RVTs (Nick Wellnhofer),
150+
Validate QNames of attribute sets (Nick Wellnhofer),
151+
Add xsl:attribute-set regression tests (Nick Wellnhofer),
152+
Ignore imported stylesheets in xsltApplyAttributeSet (Nick Wellnhofer)
153+
154+
155+
11156
1.1.29: May 24 2016:
12157
- Security:
13158
CVE-2015-7995 Fix for type confusion in preprocessing attributes (Daniel Veillard)

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
libxslt Windows build with Visual Studio.
44

5-
This version is libxslt-1.1.33.
5+
This version is libxslt-1.1.34.
66

77
To build, simply open the required solution file, and
88
you know how to use Visual Studio, right?
File renamed without changes.

distfiles/download.url

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
ftp://xmlsoft.org/libxml2/libxslt-1.1.33.tar.gz
2-
ftp://xmlsoft.org/libxml2/libxslt-1.1.33.tar.gz.asc
1+
http://xmlsoft.org/sources/libxslt-1.1.34.tar.gz
2+
http://xmlsoft.org/sources/libxslt-1.1.34.tar.gz.asc

distfiles/libxslt-1.1.33.tar.gz

-3.28 MB
Binary file not shown.

distfiles/libxslt-1.1.33.tar.gz.asc

-10
This file was deleted.
File renamed without changes.

distfiles/libxslt-1.1.33-import.md5 distfiles/libxslt-1.1.34-import.md5

+22-22
Original file line numberDiff line numberDiff line change
@@ -4,64 +4,64 @@
44
0cd9a07afbeb24026c9b03aecfeba458 Copyright
55
8bdb596bfaab3d2c7a0d85c13785a95f FEATURES
66
70f3f1d7bfd6cb35d2bb254c95d9c45d INSTALL
7-
4ea329b1b18d2d82ad7896417d66fc61 NEWS
7+
9626a9c49e506f4abf726f6a101e1a8b NEWS
88
bc65c900f4d1e6b9aea0329b3b804dca README.libxslt
99
1671e62be479162b8d9a012c81bc235e TODO
1010
aba710008f9634a61c5e194ce408ebfb libexslt/common.c
11-
d7609b2b32bd2257fc9f1891e0c86fcb libexslt/crypto.c
12-
f6895d6ca2bc67870554669d15c49980 libexslt/date.c
13-
b31bf0321b187cbc4171c3e1eb6588e8 libexslt/dynamic.c
11+
02589406079ecfa3354e8e88139b16db libexslt/crypto.c
12+
58868cd56ea5ec210f7d0270451bc157 libexslt/date.c
13+
408cc31668f6448094ae6759ceaf07b6 libexslt/dynamic.c
1414
cf43f6730a2e837f9116ec4d2d66d072 libexslt/exslt.c
1515
f01af3bf058520059ba6d50f42133717 libexslt/exslt.h
1616
03a75a174bc5b056f014e592cfd4db36 libexslt/exsltexports.h
17-
1e5b68419f6b0dd6557e664d0a0393e7 libexslt/functions.c
17+
559ab40dbff2ebd472a5606d2cfe6877 libexslt/functions.c
1818
4564d6e70f8ce16e36c0bde5969fdab5 libexslt/libexslt.h
1919
b5ad93926b85474410f85acb65bce94b libexslt/math.c
20-
215964e455325b8cc9e227a3a07bde3f libexslt/saxon.c
20+
cd9431155b2d494c9be51fb11133822d libexslt/saxon.c
2121
2783be36ba281f95283ce1ec86543637 libexslt/sets.c
2222
2e3f0395e2a7d945d91a741ae0fb3f9f libexslt/strings.c
2323
f27239fb214b8dc23e14fa678368c375 libxslt/attributes.c
2424
32e43c08f66b85266c391301d322a21f libxslt/attributes.h
25-
91b6457498942c8da3ad2b7864fd6f81 libxslt/attrvt.c
26-
8492e2acaab84c25cf3c189fa6f95527 libxslt/documents.c
25+
2a7eb72f2a1fff91f33cd870f1fd3d81 libxslt/attrvt.c
26+
8506606cb7e40b3b42355ae90c8c7710 libxslt/documents.c
2727
22a35bd1102fd1ac301e50cf650a8b8a libxslt/documents.h
2828
f7b9559c88e6d29b1308fed5c16b8f52 libxslt/extensions.c
2929
0396b6be07f707b0c6ee171a63b2e520 libxslt/extensions.h
3030
70225178e3e9d19c49083e0c424c8d6e libxslt/extra.c
3131
94fe9ce1c0c47724aae4a1bcb8c29433 libxslt/extra.h
32-
842c7b797fba3a45b906d714d0cab09f libxslt/functions.c
32+
6c15c68296f570c7c7aba38a79413b99 libxslt/functions.c
3333
052fd28e9971416b2bbebdc3d1103c4e libxslt/functions.h
34-
b33ce2052cf2656b50bee959d5083830 libxslt/imports.c
34+
cc985ca8862e4d68cc50f16e204e014e libxslt/imports.c
3535
66e26ad969e3c37fdeedcbc2716d7cf3 libxslt/imports.h
36-
e9c57b10d7bce2b57e12a612ab25bf87 libxslt/keys.c
36+
67f1d18268f1631dcfa41cbbca9ba6f3 libxslt/keys.c
3737
77a11ee3de841d02d3461b829cfcc11e libxslt/keys.h
3838
b84034c942ffa214709b590b29131637 libxslt/libxslt.h
3939
044b23ede3476d0ce3dba296a9186373 libxslt/namespaces.c
4040
c784b4b8e80274491fe023ce26d4847b libxslt/namespaces.h
41-
87fa5371283afea9691fc982e10d209d libxslt/numbers.c
41+
8f30dae90e65d1a64b64e989faddf06c libxslt/numbers.c
4242
27c2c21ab1535f84710fe1c8c8829018 libxslt/numbersInternals.h
43-
753492412bf380ee6090e9b605f26092 libxslt/pattern.c
44-
1d928199f1adf63d79d9ec6aa7eb060f libxslt/pattern.h
43+
36eac05ca263fe841a3abae4155a2d2f libxslt/pattern.c
44+
adf6b78e6c68a7d34ae680f6dc3f5240 libxslt/pattern.h
4545
e0f3d8518ecfc2be6ca41df513925830 libxslt/preproc.c
4646
829de337aca8b15f699708e6b7340549 libxslt/preproc.h
47-
fb8c0469346cdab2ef9250217df15b09 libxslt/security.c
47+
406507086c5fd6b11220c1443ce9bbf7 libxslt/security.c
4848
1b24b61ea6afe01d18c647c94b1245c7 libxslt/security.h
49-
866066b6a327ac2627611fd79abbba7f libxslt/templates.c
49+
b21c4fd6e88fbe2ff06b1d8f85b4fb6b libxslt/templates.c
5050
6901f4c8fad239b588b9f6d4cdfef5ac libxslt/templates.h
51-
d5f1f9595c15915c216fc10e2a9701fc libxslt/transform.c
51+
8d35111317486f63111a7c8509fc7a90 libxslt/transform.c
5252
ccbcce4553f3231003b1944002814246 libxslt/transform.h
5353
7da7b1fcf378330699c7ecdd96908641 libxslt/trio.h
5454
e41149b088de4a04c067c85969f4db3c libxslt/triodef.h
55-
5c6ea3c3cf4a926158d50fb4add83d2f libxslt/variables.c
55+
cb2633c49ef0becb0e7e52bb8e9ab4e1 libxslt/variables.c
5656
ebd9b3b1f996c4a2ed79d4473ff0fd77 libxslt/variables.h
5757
c64153b1a2c8bba1a8aa600741f04690 libxslt/win32config.h
58-
11b6e9dd661ebc2107f07af2f59a4496 libxslt/xslt.c
58+
b1faabb8f287cfe792f5a3dcc23a3f49 libxslt/xslt.c
5959
0c08b8e7223b72f822a58457520b6387 libxslt/xslt.h
60-
83c28cbab61567177227bc7d65cedc5d libxslt/xsltInternals.h
60+
0c245b0fcc81bf537632a45adf8fcffb libxslt/xsltInternals.h
6161
751f95448e71222d8e10d31ebf8822df libxslt/xsltexports.h
6262
6245aa2e82a5c5f456a72209cb21bfde libxslt/xsltlocale.c
6363
d7b200e408cefe5082b15d3a5e1bf600 libxslt/xsltlocale.h
64-
a2e9d57f3774ab22e240069973cae4cc libxslt/xsltutils.c
65-
c190bd536ce0cffe1ccba74c68f7b0c9 libxslt/xsltutils.h
64+
4ae43a86daf287c1205fcbbe0ac74f65 libxslt/xsltutils.c
65+
5f7848088182b183e6d1fdb335b2616a libxslt/xsltutils.h
6666
8fae823b9109770f82cfb5b77965db13 xsltproc/testThreads.c
6767
9d4aefc875864b6ca024a28d7486b39b xsltproc/xsltproc.c

distfiles/libxslt-1.1.34.tar.gz

3.39 MB
Binary file not shown.

distfiles/libxslt-1.1.34.tar.gz.asc

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
-----BEGIN PGP SIGNATURE-----
2+
3+
iQEzBAABCAAdFiEE20ZoG7ka3OoXD6LUFViLJllr6l0FAl257GgACgkQFViLJllr
4+
6l2vVggAjJEHmASiS56SxhPOsGqbfBihM66gQFoIymQfMu2430N1GSTkLsfbkJO8
5+
8yBX11NjzK/m9uxwshMW3rVCU7EpL3PUimN3reXdPiQj9hAOAWF1V3BZNevbQC2E
6+
FCIraioukaidf8sjUG4/sGpK/gOcP/3hYoN0HUoBigCNJjDqhijxM3M3GJJtCASp
7+
jL4CQbs2OmxW8ixOZbuWEESvFFHUgYRsdZjRVN+GRfSOvJjxypurmYwQ3RjO7JxL
8+
2FY8qKQ+xpeID8NV8F5OUEvWBjk1QS133VTqBZNlONdnEtV/og6jNu5k0O/Kvhup
9+
caR+8TMErOcLr9OgDklO6DoYyAsf9Q==
10+
=g4i4
11+
-----END PGP SIGNATURE-----

libexslt/crypto.c

+8-1
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,14 @@ exsltCryptoRc4DecryptFunction (xmlXPathParserContextPtr ctxt, int nargs) {
755755
PLATFORM_RC4_DECRYPT (ctxt, padkey, bin, ret_len, ret, ret_len);
756756
ret[ret_len] = 0;
757757

758-
xmlXPathReturnString (ctxt, ret);
758+
if (xmlCheckUTF8(ret) == 0) {
759+
xsltTransformError(tctxt, NULL, tctxt->inst,
760+
"exsltCryptoRc4DecryptFunction: Invalid UTF-8\n");
761+
xmlFree(ret);
762+
xmlXPathReturnEmptyString(ctxt);
763+
} else {
764+
xmlXPathReturnString(ctxt, ret);
765+
}
759766

760767
done:
761768
if (key != NULL)

0 commit comments

Comments
 (0)