Package: libxml2 / 2.9.10+dfsg-6.3

Metadata

Package Version Patches format
libxml2 2.9.10+dfsg-6.3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
xml2 config fix.patch | (download)

xml2-config.in | 16 2 + 14 - 0 !
1 file changed, 2 insertions(+), 14 deletions(-)

 display dynamic linking information with --libs, not static
 Don't bother about keeping support for the static variant, it's not needed
 in debian directly.
Fix memory leak in xmlSchemaValidateStream.patch | (download)

xmlschemas.c | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 fix memory leak in xmlschemavalidatestream
Fix infinite loop in xmlStringLenDecodeEntities.patch | (download)

parser.c | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 fix infinite loop in xmlstringlendecodeentities
Fix freeing of nested documents.patch | (download)

tree.c | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 [patch] fix freeing of nested documents

Apparently, some libxslt RVTs can contain nested document nodes, see
issue #132. I'm not sure how this happens exactly but it can cause a
segfault in xmlFreeNodeList after the changes in commit 0762c9b6.

Make sure not to touch the (nonexistent) `content` member of xmlDocs.

python3 unicode errors.patch | (download)

python/libxml.c | 11 10 + 1 - 0 !
1 file changed, 10 insertions(+), 1 deletion(-)

---
parenthesize type checks.patch | (download)

python/libxml.c | 4 2 + 2 - 0 !
python/types.c | 12 6 + 6 - 0 !
2 files changed, 8 insertions(+), 8 deletions(-)

 [patch] parenthesize py<type>_check() in ifs

In C, if expressions should be parenthesized.
PyLong_Check, PyUnicode_Check etc. happened to expand to a parenthesized
expression before, but that's not API to rely on.

Since Python 3.9.0a4 it needs to be parenthesized explicitly.

Fixes https://gitlab.gnome.org/GNOME/libxml2/issues/149

Fix out of bounds read with xmllint htmlout.patch | (download)

xmllint.c | 6 6 + 0 - 0 !
1 file changed, 6 insertions(+)

 fix out-of-bounds read with 'xmllint --htmlout'