forked from pool/libxml2
Accepting request 748960 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Version update to 2.9.10:
* Portability:
+ Fix exponent digits when running tests under old MSVC
+ Work around buggy ceil() function on AIX
+ Don't call printf with NULL string in runtest.c
+ Switched from unsigned long to ptrdiff_t in parser.c
+ timsort.h: support older GCCs
+ Make configure.ac work with older pkg-config
* Bug Fixes:
+ Fix for conditional sections at end of document
+ Make sure that Python tests exit with error code
+ Audit memory error handling in xpath.c
+ Fix error code in xmlTextWriterStartDocument
+ Fix integer overflow when counting written bytes
+ Fix uninitialized memory access in HTML parser
+ Fix memory leak in xmlSchemaValAtomicType
+ Disallow conditional sections in internal subset
+ Fix use-after-free in xmlTextReaderFreeNodeList
+ Fix Regextests
+ Fix empty branch in regex
+ Fix integer overflow in entity recursion check
+ Don't read external entities or XIncludes from stdin
+ Fix Schema determinism check of ##other namespaces
+ Fix potential null deref in xmlSchemaIDCFillNodeTables
+ Fix potential memory leak in xmlBufBackToBuffer
+ Fix error message when processing XIncludes with fallbacks
+ Fix memory leak in xmlRegEpxFromParse
+ 14:00 is a valid timezone for xs:dateTime
+ Fix memory leak in xmlParseBalancedChunkMemoryRecover
+ Fix potential null deref in xmlRelaxNGParsePatterns
OBS-URL: https://build.opensuse.org/request/show/748960
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=139
This commit is contained in:
committed by
Git OBS Bridge
parent
4baea7ff69
commit
1389083202
@@ -11,9 +11,9 @@ Date: Thu Jan 26 19:11:02 2012 +0800
|
||||
|
||||
Index: SAX2.c
|
||||
===================================================================
|
||||
--- SAX2.c.orig 2012-09-11 08:01:01.000000000 +0200
|
||||
+++ SAX2.c 2012-12-15 16:32:27.353560391 +0100
|
||||
@@ -2188,7 +2188,6 @@
|
||||
--- SAX2.c.orig
|
||||
+++ SAX2.c
|
||||
@@ -2222,7 +2222,6 @@ xmlSAX2StartElementNs(void *ctx,
|
||||
xmlNodePtr parent;
|
||||
xmlNsPtr last = NULL, ns;
|
||||
const xmlChar *uri, *pref;
|
||||
@@ -21,7 +21,7 @@ Index: SAX2.c
|
||||
int i, j;
|
||||
|
||||
if (ctx == NULL) return;
|
||||
@@ -2208,20 +2207,6 @@
|
||||
@@ -2242,20 +2241,6 @@ xmlSAX2StartElementNs(void *ctx,
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -42,7 +42,7 @@ Index: SAX2.c
|
||||
* allocate the node
|
||||
*/
|
||||
if (ctxt->freeElems != NULL) {
|
||||
@@ -2234,10 +2219,7 @@
|
||||
@@ -2269,10 +2254,7 @@ xmlSAX2StartElementNs(void *ctx,
|
||||
if (ctxt->dictNames)
|
||||
ret->name = localname;
|
||||
else {
|
||||
@@ -54,7 +54,7 @@ Index: SAX2.c
|
||||
if (ret->name == NULL) {
|
||||
xmlSAX2ErrMemory(ctxt, "xmlSAX2StartElementNs");
|
||||
return;
|
||||
@@ -2249,11 +2231,8 @@
|
||||
@@ -2284,11 +2266,8 @@ xmlSAX2StartElementNs(void *ctx,
|
||||
if (ctxt->dictNames)
|
||||
ret = xmlNewDocNodeEatName(ctxt->myDoc, NULL,
|
||||
(xmlChar *) localname, NULL);
|
||||
@@ -67,12 +67,12 @@ Index: SAX2.c
|
||||
if (ret == NULL) {
|
||||
xmlSAX2ErrMemory(ctxt, "xmlSAX2StartElementNs");
|
||||
return;
|
||||
@@ -2360,31 +2339,6 @@
|
||||
@@ -2399,31 +2378,6 @@ xmlSAX2StartElementNs(void *ctx,
|
||||
*/
|
||||
if (nb_attributes > 0) {
|
||||
for (j = 0,i = 0;i < nb_attributes;i++,j+=5) {
|
||||
- /*
|
||||
- * Handle the rare case of an undefined atribute prefix
|
||||
- * Handle the rare case of an undefined attribute prefix
|
||||
- */
|
||||
- if ((attributes[j+1] != NULL) && (attributes[j+2] == NULL)) {
|
||||
- if (ctxt->dictNames) {
|
||||
@@ -99,7 +99,6 @@ Index: SAX2.c
|
||||
xmlSAX2AttributeNs(ctxt, attributes[j], attributes[j+1],
|
||||
attributes[j+3], attributes[j+4]);
|
||||
}
|
||||
|
||||
Index: result/namespaces/err_7.xml
|
||||
===================================================================
|
||||
--- result/namespaces/err_7.xml.orig
|
||||
|
||||
3
libxml2-2.9.10.tar.gz
Normal file
3
libxml2-2.9.10.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aafee193ffb8fe0c82d4afef6ef91972cbaf5feea100edc2f262750611b4be1f
|
||||
size 5624761
|
||||
11
libxml2-2.9.10.tar.gz.asc
Normal file
11
libxml2-2.9.10.tar.gz.asc
Normal file
@@ -0,0 +1,11 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQEzBAABCAAdFiEE20ZoG7ka3OoXD6LUFViLJllr6l0FAl254V4ACgkQFViLJllr
|
||||
6l0ldAf6Azt4/oKDfMKRd+xaykUrb+34dr2ZRsjRDS1cnelAtL9TCWhE5lOkLI3c
|
||||
3FyNRaLhOEOOluZmKTJYyzS42JSSHDhxGj14gIeyafOjvRhHG3h1m5GvMmvgKWkd
|
||||
qzxFrVFSG26iWJxMvxIA88t7M+QHb7ff7xR29ETJscewEmAd3LmZITglK02lWeGz
|
||||
LfxfLuakM6RnCUu0dzacJKO0nMOKju+RL/N9bciI/UOhNYEkWqPnzC0GzbvFLqDu
|
||||
rM+OvCSewSTziiejpdrUwYXkY5Ui2+cxUbacLauEr8iRLg7xXKqv27NORE4yeQcS
|
||||
LgIhxG/qSNfihMS6E1ZO5bK2DbGCZQ==
|
||||
=ZNuc
|
||||
-----END PGP SIGNATURE-----
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:94fb70890143e3c6549f265cee93ec064c80a84c42ad0f23e85ee1fd6540a871
|
||||
size 5476717
|
||||
@@ -1,10 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQEbBAABAgAGBQJcLlEXAAoJEBVYiyZZa+pd1B8H93xeCYNBLx+eX0xe3qS3ReS/
|
||||
YstjkXKUkmDQYwqQ/9Knmv1P6NX64hQL5E1pZX5sXp36giwXXJ5tCK72VRzektzU
|
||||
Kpo+M1/QA9feZQs1GmyKaXYzNwTSJnsdKA9nWqTHZ3bzfdhFSZ0czo94vgY/cz5z
|
||||
9P3FIgeldj1vi8p2rjXbArMFQyaxHnve9LdxI8hbudNSeUw/FEV6mjtXrlZ7MXqn
|
||||
hmAkah2JwktOStF5tIlddCRqZeUPUX5flBxT95gfskXXlGEhaoGMXcC3izqqJyV2
|
||||
sx5nY7fnXdkwfYsgRUXYWmDmbs8DnFjXH9lux9O4OWglLonaRoAqFPcOzE3aCw==
|
||||
=4qWg
|
||||
-----END PGP SIGNATURE-----
|
||||
110
libxml2.changes
110
libxml2.changes
@@ -1,3 +1,113 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 15 17:59:54 UTC 2019 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>
|
||||
|
||||
- Version update to 2.9.10:
|
||||
* Portability:
|
||||
+ Fix exponent digits when running tests under old MSVC
|
||||
+ Work around buggy ceil() function on AIX
|
||||
+ Don't call printf with NULL string in runtest.c
|
||||
+ Switched from unsigned long to ptrdiff_t in parser.c
|
||||
+ timsort.h: support older GCCs
|
||||
+ Make configure.ac work with older pkg-config
|
||||
* Bug Fixes:
|
||||
+ Fix for conditional sections at end of document
|
||||
+ Make sure that Python tests exit with error code
|
||||
+ Audit memory error handling in xpath.c
|
||||
+ Fix error code in xmlTextWriterStartDocument
|
||||
+ Fix integer overflow when counting written bytes
|
||||
+ Fix uninitialized memory access in HTML parser
|
||||
+ Fix memory leak in xmlSchemaValAtomicType
|
||||
+ Disallow conditional sections in internal subset
|
||||
+ Fix use-after-free in xmlTextReaderFreeNodeList
|
||||
+ Fix Regextests
|
||||
+ Fix empty branch in regex
|
||||
+ Fix integer overflow in entity recursion check
|
||||
+ Don't read external entities or XIncludes from stdin
|
||||
+ Fix Schema determinism check of ##other namespaces
|
||||
+ Fix potential null deref in xmlSchemaIDCFillNodeTables
|
||||
+ Fix potential memory leak in xmlBufBackToBuffer
|
||||
+ Fix error message when processing XIncludes with fallbacks
|
||||
+ Fix memory leak in xmlRegEpxFromParse
|
||||
+ 14:00 is a valid timezone for xs:dateTime
|
||||
+ Fix memory leak in xmlParseBalancedChunkMemoryRecover
|
||||
+ Fix potential null deref in xmlRelaxNGParsePatterns
|
||||
+ Misleading error message with xs:{min|max}Inclusive
|
||||
+ Fix memory leak in xmlXIncludeLoadTxt
|
||||
+ Partial fix for comparison of xs:durations
|
||||
+ Fix null deref in xmlreader buffer
|
||||
+ Fix unability to RelaxNG-validate grammar with choice-based name class
|
||||
+ Fix unability to validate ambiguously constructed interleave for RelaxNG
|
||||
+ Fix possible null dereference in xmlXPathIdFunction
|
||||
+ fix memory leak in xmlAllocOutputBuffer
|
||||
+ Fix unsigned int overflow
|
||||
+ dict.h: gcc 2.95 doesn't allow multiple storage classes
|
||||
+ Fix another code path in xmlParseQName
|
||||
+ Make sure that xmlParseQName returns NULL in error case
|
||||
+ Fix build without reader but with pattern
|
||||
+ Fix memory leak in xmlAllocOutputBufferInternal error path
|
||||
+ Fix unsigned integer overflow
|
||||
+ Fix return value of xmlOutputBufferWrite
|
||||
+ Fix parser termination from "Double hyphen within comment" error
|
||||
+ Fix call stack overflow in xmlFreePattern
|
||||
+ Fix null deref in previous commit
|
||||
+ Fix memory leaks in xmlXPathParseNameComplex error paths
|
||||
+ Check for integer overflow in xmlXPtrEvalChildSeq
|
||||
+ Fix xmllint dump of XPath namespace nodes
|
||||
+ Fix float casts in xmlXPathSubstringFunction
|
||||
+ Fix null deref in xmlregexp error path
|
||||
+ Fix null pointer dereference in xmlTextReaderReadOuterXml
|
||||
+ Fix memory leaks in xmlParseStartTag2 error paths
|
||||
+ Fix memory leak in xmlSAX2StartElement
|
||||
+ Fix commit "Memory leak in xmlFreeID (xmlreader.c)"
|
||||
+ Fix NULL pointer deref in xmlTextReaderValidateEntity
|
||||
+ Memory leak in xmlFreeTextReader
|
||||
+ Memory leak in xmlFreeID (xmlreader.c)
|
||||
* Improvements:
|
||||
+ Propagate memory errors in valuePush
|
||||
+ Propagate memory errors in xmlXPathCompExprAdd
|
||||
+ Make xmlFreeDocElementContent non-recursive
|
||||
+ Avoid ignored attribute warnings under GCC
|
||||
+ Make xmlDumpElementContent non-recursive
|
||||
+ Make apibuild.py ignore ATTRIBUTE_NO_SANITIZE
|
||||
+ Mark xmlExp* symbols as removed
|
||||
+ Make xmlParseConditionalSections non-recursive
|
||||
+ Adjust expected error in Python tests
|
||||
+ Make xmlTextReaderFreeNodeList non-recursive
|
||||
+ Make xmlFreeNodeList non-recursive
|
||||
+ Make xmlParseContent and xmlParseElement non-recursive
|
||||
+ Remove executable bit from non-executable files
|
||||
+ Fix expected output of test/schemas/any4
|
||||
+ Optimize build instructions in README
|
||||
+ xml2-config.in: Output CFLAGS and LIBS on the same line
|
||||
+ xml2-config: Add a --dynamic switch to print only shared libraries
|
||||
+ Annotate functions with __attribute__((no_sanitize))
|
||||
+ Fix warnings when compiling without reader or push parser
|
||||
+ Remove unused member `doc` in xmlSaveCtxt
|
||||
+ Limit recursion depth in xmlXPathCompOpEvalPredicate
|
||||
+ Remove -Wno-array-bounds
|
||||
+ Remove unreachable code in xmlXPathCountFunction
|
||||
+ Improve XPath predicate and filter evaluation
|
||||
+ Limit recursion depth in xmlXPathOptimizeExpression
|
||||
+ Disable hash randomization when fuzzing
|
||||
+ Optional recursion limit when parsing XPath expressions
|
||||
+ Optional recursion limit when evaluating XPath expressions
|
||||
+ Use break statements in xmlXPathCompOpEval
|
||||
+ Optional XPath operation limit
|
||||
+ Fix compilation with --with-minimum
|
||||
+ Check XPath stack after calling functions
|
||||
+ Remove debug printf in xmlreader.c
|
||||
+ Always define LIBXML_THREAD_ENABLED when enabled
|
||||
+ Fix unused function warning in testapi.c
|
||||
+ Remove unneeded function pointer casts
|
||||
+ Fix -Wcast-function-type warnings (GCC 8)
|
||||
+ Fix -Wformat-truncation warnings (GCC 8)
|
||||
* Cleanups:
|
||||
+ Rebuild docs
|
||||
+ Disable xmlExp regex code
|
||||
+ Remove redundant code in xmlRelaxNGValidateState
|
||||
+ Remove redundant code in xmlXPathCompRelationalExpr
|
||||
- Rebase patch fix-perl.diff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 9 08:24:40 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libxml2
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LLC.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -30,7 +30,7 @@
|
||||
%define bname libxml2
|
||||
%define lname libxml2-2
|
||||
Name: %{bname}%{pysuffix}
|
||||
Version: 2.9.9
|
||||
Version: 2.9.10
|
||||
Release: 0
|
||||
Summary: A Library to Manipulate XML Files
|
||||
License: MIT
|
||||
|
||||
Reference in New Issue
Block a user