summaryrefslogtreecommitdiff
path: root/debian/patches/0035-Adding-a-check-in-case-of-allocation-error.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/0035-Adding-a-check-in-case-of-allocation-error.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/0035-Adding-a-check-in-case-of-allocation-error.patch')
-rw-r--r--debian/patches/0035-Adding-a-check-in-case-of-allocation-error.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/debian/patches/0035-Adding-a-check-in-case-of-allocation-error.patch b/debian/patches/0035-Adding-a-check-in-case-of-allocation-error.patch
deleted file mode 100644
index a0b4fc7..0000000
--- a/debian/patches/0035-Adding-a-check-in-case-of-allocation-error.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From: Gaurav Gupta <g.gupta@samsung.com>
-Date: Mon, 14 Jul 2014 16:01:10 +0800
-Subject: Adding a check in case of allocation error
-
-For https://bugzilla.gnome.org/show_bug.cgi?id=733043
-
-There is missing Null condition in xmlRelaxNGValidateInterleave of
-relaxng.c
-Dereferencing it may cause a crash.
----
- relaxng.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/relaxng.c b/relaxng.c
-index 370e314..3d8524d 100644
---- a/relaxng.c
-+++ b/relaxng.c
-@@ -9409,6 +9409,10 @@ xmlRelaxNGValidateInterleave(xmlRelaxNGValidCtxtPtr ctxt,
- oldstate = ctxt->state;
- for (i = 0; i < nbgroups; i++) {
- ctxt->state = xmlRelaxNGCopyValidState(ctxt, oldstate);
-+ if (ctxt->state == NULL) {
-+ ret = -1;
-+ break;
-+ }
- group = partitions->groups[i];
- if (lasts[i] != NULL) {
- last = lasts[i]->next;