summaryrefslogtreecommitdiff
path: root/debian/patches/0039-Fix-processing-in-SAX2-in-case-of-an-allocation-fail.patch
diff options
context:
space:
mode:
authorAron Xu <aron@debian.org>2015-09-21 22:55:08 +0800
committerAron Xu <aron@debian.org>2015-09-21 22:55:08 +0800
commitd548c999ade382febb424b26743b3c4d63159ae0 (patch)
tree232c9c894b45099f211728742569111738b17e16 /debian/patches/0039-Fix-processing-in-SAX2-in-case-of-an-allocation-fail.patch
parentd837811e969fac31afdf39c00ba579b33f6adeb6 (diff)
downloadlibxml2-d548c999ade382febb424b26743b3c4d63159ae0.tar.gz
Revert "Restore all patches available in 2.9.1+dfsg1-5 in stretch, ensuring CVE-2014-3660 is fixed too."
This reverts commit 37f590756a23e167808f76f1389c36f0a2d39f11.
Diffstat (limited to 'debian/patches/0039-Fix-processing-in-SAX2-in-case-of-an-allocation-fail.patch')
-rw-r--r--debian/patches/0039-Fix-processing-in-SAX2-in-case-of-an-allocation-fail.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/debian/patches/0039-Fix-processing-in-SAX2-in-case-of-an-allocation-fail.patch b/debian/patches/0039-Fix-processing-in-SAX2-in-case-of-an-allocation-fail.patch
deleted file mode 100644
index 73813e4..0000000
--- a/debian/patches/0039-Fix-processing-in-SAX2-in-case-of-an-allocation-fail.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From: Daniel Veillard <veillard@redhat.com>
-Date: Mon, 14 Jul 2014 20:29:34 +0800
-Subject: Fix processing in SAX2 in case of an allocation failure
-
-Related to https://bugzilla.gnome.org/show_bug.cgi?id=731360
----
- SAX2.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/SAX2.c b/SAX2.c
-index 76b7158..791992c 100644
---- a/SAX2.c
-+++ b/SAX2.c
-@@ -2578,6 +2578,7 @@ xmlSAX2Characters(void *ctx, const xmlChar *ch, int len)
- }
- if (lastChild->content == NULL) {
- xmlSAX2ErrMemory(ctxt, "xmlSAX2Characters: xmlStrdup returned NULL");
-+ return;
- }
- if (((size_t)ctxt->nodelen + (size_t)len > XML_MAX_TEXT_LENGTH) &&
- ((ctxt->options & XML_PARSE_HUGE) == 0)) {