Skip to content

Commit

Permalink
Update to libxslt-1.1.34.
Browse files Browse the repository at this point in the history
  • Loading branch information
kiyolee committed Nov 27, 2019
1 parent e2eef80 commit 6ca4efb
Show file tree
Hide file tree
Showing 34 changed files with 730 additions and 437 deletions.
147 changes: 146 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,154 @@
http://xmlsoft.org/XSLT/news.html

See the git page at
http://git.gnome.org/browse/libxslt/
https://gitlab.gnome.org/GNOME/libxslt

to get a description of the recent commits.Those are the public releases made:
v1.1.33: Jan 03 2019:
- Portability:
Variables need 'extern' in static lib on Cygwin (Nick Wellnhofer),
Really declare dllexport/dllimport for Cygwin (Michael Haubenwallner),
Fix callback signatures in Python bindings (Nick Wellnhofer),
Fix transform callback signatures (Nick Wellnhofer),
Fix extension callback signatures (Nick Wellnhofer),
Fix deallocator signatures (Nick Wellnhofer),
Fix XPath callback signatures (Nick Wellnhofer),
Fix hash callback signatures (Nick Wellnhofer)

- Bug Fixes:
Don't cache direct evaluation of patterns with variables (Nick Wellnhofer),
Move function result RVTs to context variable (Nick Wellnhofer),
Fix EXSLT functions returning RVTs from outer scopes (Nick Wellnhofer),
Fix handling of RVTs returned from nested EXSLT functions (Nick Wellnhofer),
Fix typos (Nick Wellnhofer)

- Improvements:
Run Travis ASan tests with "sudo: required" (Nick Wellnhofer)

- Cleanups:
Remove doc/libxslt-decl.txt (Nick Wellnhofer),
Docs for 1.1.32 release (Daniel Veillard)



1.1.32: Nov 02 2017:
- Portability:
Add missing limits.h include (Nick Wellnhofer),
Also run Windows tests with --maxdepth 200 (Nick Wellnhofer),
Disable some MSVC warnings (Nick Wellnhofer),
Fix deprecated Travis compiler flag (Nick Wellnhofer),
Run general tests with maxdepth=200 (Nick Wellnhofer),
Use _WIN32 macro instead of WIN32 (Nick Wellnhofer),
Fix xsltproc newlines on Windows (Nick Wellnhofer),
Fix Windows compiler warnings (Nick Wellnhofer),
Rework locale feature tests (Nick Wellnhofer)

- Improvements:
Rebuild win32/libxslt.def.src (Nick Wellnhofer),
Fix compiler warnings in Python bindings (Nick Wellnhofer)



v1.1.31: Oct 06 2017:
- Portability:
Fix win32/configure.js (Nick Wellnhofer)

- Bug Fixes:
Fix pkg-config related regressions in configure script (Nick Wellnhofer)

- Improvements:
Adjust expected error output for libxml2 changes (Nick Wellnhofer),
Misc autoconf updates (Nick Wellnhofer)



v1.1.30: Sep 04 2017:
- Documentation:
Misc doc fixes (Nick Wellnhofer)

- Portability:
Look for libxml2 via pkg-config first (Elliott Sales de Andrade),
Change default SOPREFIX on Windows to "bin" (Nick Wellnhofer),
Add WIN32_EXTRA_LDFLAGS to tests/plugins/Makefile.am (Michael Haubenwallner)

- Bug Fixes:
Also fix memory hazards in exsltFuncResultElem (Nick Wellnhofer),
Fix NULL deref in xsltDefaultSortFunction (Nick Wellnhofer),
Fix memory hazards in exsltFuncFunctionFunction (Nick Wellnhofer),
Fix memory leaks in EXSLT error paths (Nick Wellnhofer),
Fix memory leak in str:concat with empty node-set (Nick Wellnhofer),
Fix memory leaks in error paths (Nick Wellnhofer),
Switch to xmlUTF8Strsize in numbers.c (Nick Wellnhofer),
Fix NULL pointer deref in xsltFormatNumberFunction (Nick Wellnhofer),
Fix UTF-8 check in str:padding (Nick Wellnhofer),
Fix xmlStrPrintf argument (Nick Wellnhofer),
Check for overflow in _exsltDateParseGYear (Nick Wellnhofer),
Fix double to int conversion (Nick Wellnhofer),
Check for overflow in exsltDateParseDuration (Nick Wellnhofer),
Change version of xsltMaxVars back to 1.0.24 (Nick Wellnhofer),
Disable xsltCopyTextString optimization for extensions (Nick Wellnhofer),
Create DOCTYPE for HTML version 5 (Nick Wellnhofer),
Make xsl:decimal-format work with namespaces (Nick Wellnhofer),
Remove norm:localTime extension function (Nick Wellnhofer),
Check for integer overflow in xsltAddTextString (Nick Wellnhofer),
Detect infinite recursion when evaluating function arguments (Nick Wellnhofer),
Fix memory leak in xsltElementAvailableFunction (Nick Wellnhofer),
Fix for pattern predicates calling functions (Nick Wellnhofer),
Fix cmd.exe invocations in Makefile.mingw (Nick Wellnhofer),
Don't try to install index.sgml (Nick Wellnhofer),
Fix symbols.xml (Nick Wellnhofer),
Fix heap overread in xsltFormatNumberConversion (Nick Wellnhofer),
Fix <xsl:number level="any"/> for non-element nodes (Nick Wellnhofer),
Fix unreachable code in xsltAddChild (mahendra.n),
Change version number in xsl:version warning (Nick Wellnhofer),
Avoid infinite recursion after failed param evaluation (Nick Wellnhofer),
Stop if potential recursion is detected (Nick Wellnhofer),
Consider built-in templates in apply-imports (Nick Wellnhofer),
Fix precedence with multiple attribute sets (Nick Wellnhofer),
Rework attribute set resolution (Nick Wellnhofer)

- Improvements:
Add .travis.yml (Nick Wellnhofer),
Silence tests a little (Nick Wellnhofer),
Set LIBXML_SRC to absolute path (Nick Wellnhofer),
Add missing #include (Nick Wellnhofer),
Adjust expected error messages in tests (Nick Wellnhofer),
Make xsltDebug more quiet (Nick Wellnhofer),
New-line terminate error message that missed this convention (Jan Pokorn�),
Use xmlBuffers in EXSLT string functions (Nick Wellnhofer),
Switch to xmlUTF8Strsize in EXSLT string functions (Nick Wellnhofer),
Check for return value of xmlUTF8Strlen (Nick Wellnhofer),
Avoid double/long round trip in FORMAT_ITEM (Nick Wellnhofer),
Separate date and duration structs (Nick Wellnhofer),
Check for overflow in _exsltDateDifference (Nick Wellnhofer),
Clamp seconds field of durations (Nick Wellnhofer),
Change _exsltDateAddDurCalc parameter types (Nick Wellnhofer),
Fix date:difference with time zones (Nick Wellnhofer),
Rework division/remainder arithmetic in date.c (Nick Wellnhofer),
Remove exsltDateCastDateToNumber (Nick Wellnhofer),
Change internal representation of years (Nick Wellnhofer),
Optimize IS_LEAP (Nick Wellnhofer),
Link libraries with libm (Jussi Kukkonen),
Rename xsltCopyTreeInternal to xsltCopyTree (Nick Wellnhofer),
Update linker version script (Nick Wellnhofer),
Add local wildcard to version script (Nick Wellnhofer),
Make some symbols static (Nick Wellnhofer),
Remove redundant NULL check in xsltNumberComp (mahendra.n),
Fix forwards compatibility for imported stylesheets (Nick Wellnhofer),
Reduce warnings in forwards-compatible mode (Nick Wellnhofer),
Precompute XSLT elements after preprocessing (Nick Wellnhofer),
Fix whitespace in xsltParseStylesheetTop (Nick Wellnhofer),
Consolidate recursion checks (Nick Wellnhofer),
Treat XSLT_STATE_STOPPED same as errors (Nick Wellnhofer),
Make sure that XSLT_STATE_STOPPED isn't overwritten (Nick Wellnhofer),
Add comment regarding built-in templates and params (Nick Wellnhofer),
Rewrite memory management of local RVTs (Nick Wellnhofer),
Validate QNames of attribute sets (Nick Wellnhofer),
Add xsl:attribute-set regression tests (Nick Wellnhofer),
Ignore imported stylesheets in xsltApplyAttributeSet (Nick Wellnhofer)



1.1.29: May 24 2016:
- Security:
CVE-2015-7995 Fix for type confusion in preprocessing attributes (Daniel Veillard)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

libxslt Windows build with Visual Studio.

This version is libxslt-1.1.33.
This version is libxslt-1.1.34.

To build, simply open the required solution file, and
you know how to use Visual Studio, right?
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions distfiles/download.url
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ftp://xmlsoft.org/libxml2/libxslt-1.1.33.tar.gz
ftp://xmlsoft.org/libxml2/libxslt-1.1.33.tar.gz.asc
http://xmlsoft.org/sources/libxslt-1.1.34.tar.gz
http://xmlsoft.org/sources/libxslt-1.1.34.tar.gz.asc
Binary file removed distfiles/libxslt-1.1.33.tar.gz
Binary file not shown.
10 changes: 0 additions & 10 deletions distfiles/libxslt-1.1.33.tar.gz.asc

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,64 +4,64 @@
0cd9a07afbeb24026c9b03aecfeba458 Copyright
8bdb596bfaab3d2c7a0d85c13785a95f FEATURES
70f3f1d7bfd6cb35d2bb254c95d9c45d INSTALL
4ea329b1b18d2d82ad7896417d66fc61 NEWS
9626a9c49e506f4abf726f6a101e1a8b NEWS
bc65c900f4d1e6b9aea0329b3b804dca README.libxslt
1671e62be479162b8d9a012c81bc235e TODO
aba710008f9634a61c5e194ce408ebfb libexslt/common.c
d7609b2b32bd2257fc9f1891e0c86fcb libexslt/crypto.c
f6895d6ca2bc67870554669d15c49980 libexslt/date.c
b31bf0321b187cbc4171c3e1eb6588e8 libexslt/dynamic.c
02589406079ecfa3354e8e88139b16db libexslt/crypto.c
58868cd56ea5ec210f7d0270451bc157 libexslt/date.c
408cc31668f6448094ae6759ceaf07b6 libexslt/dynamic.c
cf43f6730a2e837f9116ec4d2d66d072 libexslt/exslt.c
f01af3bf058520059ba6d50f42133717 libexslt/exslt.h
03a75a174bc5b056f014e592cfd4db36 libexslt/exsltexports.h
1e5b68419f6b0dd6557e664d0a0393e7 libexslt/functions.c
559ab40dbff2ebd472a5606d2cfe6877 libexslt/functions.c
4564d6e70f8ce16e36c0bde5969fdab5 libexslt/libexslt.h
b5ad93926b85474410f85acb65bce94b libexslt/math.c
215964e455325b8cc9e227a3a07bde3f libexslt/saxon.c
cd9431155b2d494c9be51fb11133822d libexslt/saxon.c
2783be36ba281f95283ce1ec86543637 libexslt/sets.c
2e3f0395e2a7d945d91a741ae0fb3f9f libexslt/strings.c
f27239fb214b8dc23e14fa678368c375 libxslt/attributes.c
32e43c08f66b85266c391301d322a21f libxslt/attributes.h
91b6457498942c8da3ad2b7864fd6f81 libxslt/attrvt.c
8492e2acaab84c25cf3c189fa6f95527 libxslt/documents.c
2a7eb72f2a1fff91f33cd870f1fd3d81 libxslt/attrvt.c
8506606cb7e40b3b42355ae90c8c7710 libxslt/documents.c
22a35bd1102fd1ac301e50cf650a8b8a libxslt/documents.h
f7b9559c88e6d29b1308fed5c16b8f52 libxslt/extensions.c
0396b6be07f707b0c6ee171a63b2e520 libxslt/extensions.h
70225178e3e9d19c49083e0c424c8d6e libxslt/extra.c
94fe9ce1c0c47724aae4a1bcb8c29433 libxslt/extra.h
842c7b797fba3a45b906d714d0cab09f libxslt/functions.c
6c15c68296f570c7c7aba38a79413b99 libxslt/functions.c
052fd28e9971416b2bbebdc3d1103c4e libxslt/functions.h
b33ce2052cf2656b50bee959d5083830 libxslt/imports.c
cc985ca8862e4d68cc50f16e204e014e libxslt/imports.c
66e26ad969e3c37fdeedcbc2716d7cf3 libxslt/imports.h
e9c57b10d7bce2b57e12a612ab25bf87 libxslt/keys.c
67f1d18268f1631dcfa41cbbca9ba6f3 libxslt/keys.c
77a11ee3de841d02d3461b829cfcc11e libxslt/keys.h
b84034c942ffa214709b590b29131637 libxslt/libxslt.h
044b23ede3476d0ce3dba296a9186373 libxslt/namespaces.c
c784b4b8e80274491fe023ce26d4847b libxslt/namespaces.h
87fa5371283afea9691fc982e10d209d libxslt/numbers.c
8f30dae90e65d1a64b64e989faddf06c libxslt/numbers.c
27c2c21ab1535f84710fe1c8c8829018 libxslt/numbersInternals.h
753492412bf380ee6090e9b605f26092 libxslt/pattern.c
1d928199f1adf63d79d9ec6aa7eb060f libxslt/pattern.h
36eac05ca263fe841a3abae4155a2d2f libxslt/pattern.c
adf6b78e6c68a7d34ae680f6dc3f5240 libxslt/pattern.h
e0f3d8518ecfc2be6ca41df513925830 libxslt/preproc.c
829de337aca8b15f699708e6b7340549 libxslt/preproc.h
fb8c0469346cdab2ef9250217df15b09 libxslt/security.c
406507086c5fd6b11220c1443ce9bbf7 libxslt/security.c
1b24b61ea6afe01d18c647c94b1245c7 libxslt/security.h
866066b6a327ac2627611fd79abbba7f libxslt/templates.c
b21c4fd6e88fbe2ff06b1d8f85b4fb6b libxslt/templates.c
6901f4c8fad239b588b9f6d4cdfef5ac libxslt/templates.h
d5f1f9595c15915c216fc10e2a9701fc libxslt/transform.c
8d35111317486f63111a7c8509fc7a90 libxslt/transform.c
ccbcce4553f3231003b1944002814246 libxslt/transform.h
7da7b1fcf378330699c7ecdd96908641 libxslt/trio.h
e41149b088de4a04c067c85969f4db3c libxslt/triodef.h
5c6ea3c3cf4a926158d50fb4add83d2f libxslt/variables.c
cb2633c49ef0becb0e7e52bb8e9ab4e1 libxslt/variables.c
ebd9b3b1f996c4a2ed79d4473ff0fd77 libxslt/variables.h
c64153b1a2c8bba1a8aa600741f04690 libxslt/win32config.h
11b6e9dd661ebc2107f07af2f59a4496 libxslt/xslt.c
b1faabb8f287cfe792f5a3dcc23a3f49 libxslt/xslt.c
0c08b8e7223b72f822a58457520b6387 libxslt/xslt.h
83c28cbab61567177227bc7d65cedc5d libxslt/xsltInternals.h
0c245b0fcc81bf537632a45adf8fcffb libxslt/xsltInternals.h
751f95448e71222d8e10d31ebf8822df libxslt/xsltexports.h
6245aa2e82a5c5f456a72209cb21bfde libxslt/xsltlocale.c
d7b200e408cefe5082b15d3a5e1bf600 libxslt/xsltlocale.h
a2e9d57f3774ab22e240069973cae4cc libxslt/xsltutils.c
c190bd536ce0cffe1ccba74c68f7b0c9 libxslt/xsltutils.h
4ae43a86daf287c1205fcbbe0ac74f65 libxslt/xsltutils.c
5f7848088182b183e6d1fdb335b2616a libxslt/xsltutils.h
8fae823b9109770f82cfb5b77965db13 xsltproc/testThreads.c
9d4aefc875864b6ca024a28d7486b39b xsltproc/xsltproc.c
Binary file added distfiles/libxslt-1.1.34.tar.gz
Binary file not shown.
11 changes: 11 additions & 0 deletions distfiles/libxslt-1.1.34.tar.gz.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEE20ZoG7ka3OoXD6LUFViLJllr6l0FAl257GgACgkQFViLJllr
6l2vVggAjJEHmASiS56SxhPOsGqbfBihM66gQFoIymQfMu2430N1GSTkLsfbkJO8
8yBX11NjzK/m9uxwshMW3rVCU7EpL3PUimN3reXdPiQj9hAOAWF1V3BZNevbQC2E
FCIraioukaidf8sjUG4/sGpK/gOcP/3hYoN0HUoBigCNJjDqhijxM3M3GJJtCASp
jL4CQbs2OmxW8ixOZbuWEESvFFHUgYRsdZjRVN+GRfSOvJjxypurmYwQ3RjO7JxL
2FY8qKQ+xpeID8NV8F5OUEvWBjk1QS133VTqBZNlONdnEtV/og6jNu5k0O/Kvhup
caR+8TMErOcLr9OgDklO6DoYyAsf9Q==
=g4i4
-----END PGP SIGNATURE-----
9 changes: 8 additions & 1 deletion libexslt/crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,14 @@ exsltCryptoRc4DecryptFunction (xmlXPathParserContextPtr ctxt, int nargs) {
PLATFORM_RC4_DECRYPT (ctxt, padkey, bin, ret_len, ret, ret_len);
ret[ret_len] = 0;

xmlXPathReturnString (ctxt, ret);
if (xmlCheckUTF8(ret) == 0) {
xsltTransformError(tctxt, NULL, tctxt->inst,
"exsltCryptoRc4DecryptFunction: Invalid UTF-8\n");
xmlFree(ret);
xmlXPathReturnEmptyString(ctxt);
} else {
xmlXPathReturnString(ctxt, ret);
}

done:
if (key != NULL)
Expand Down
Loading

0 comments on commit 6ca4efb

Please sign in to comment.