summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2014-12-09 18:45:14 +0000
committerPacho Ramos <pacho@gentoo.org>2014-12-09 18:45:14 +0000
commitcfb404e0673f0145b865b5f87bd471906a13b0f3 (patch)
treecb3fbaefd5a74b732173877bfd2af7a5a1f4db6e /dev-libs/libxml2/files/libxml2-2.9.1-xmllint-postvalid.patch
parentSync kde4-base.eclass with overlay. (diff)
downloadhistorical-cfb404e0673f0145b865b5f87bd471906a13b0f3.tar.gz
historical-cfb404e0673f0145b865b5f87bd471906a13b0f3.tar.bz2
historical-cfb404e0673f0145b865b5f87bd471906a13b0f3.zip
Cleanup due to security bug #525656
Package-Manager: portage-2.2.15/cvs/Linux x86_64 Manifest-Sign-Key: 0xA188FBD4
Diffstat (limited to 'dev-libs/libxml2/files/libxml2-2.9.1-xmllint-postvalid.patch')
-rw-r--r--dev-libs/libxml2/files/libxml2-2.9.1-xmllint-postvalid.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/dev-libs/libxml2/files/libxml2-2.9.1-xmllint-postvalid.patch b/dev-libs/libxml2/files/libxml2-2.9.1-xmllint-postvalid.patch
deleted file mode 100644
index 7ce2f3b95f41..000000000000
--- a/dev-libs/libxml2/files/libxml2-2.9.1-xmllint-postvalid.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 7c3c663e4f844aaecbb0cfc29567fe2ee9506fc4 Mon Sep 17 00:00:00 2001
-From: Alexandre Rostovtsev <tetromino@gentoo.org>
-Date: Fri, 16 May 2014 22:46:00 -0400
-Subject: [PATCH] xmllint: a posteriori validation needs to load exernal
- entities
-
-For https://bugzilla.gnome.org/show_bug.cgi?id=730290
----
- xmllint.c | 7 ++++++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
-
-diff --git a/xmllint.c b/xmllint.c
-index 9d46ac5..b142b3b 100644
---- a/xmllint.c
-+++ b/xmllint.c
-@@ -3530,7 +3530,12 @@ main(int argc, char **argv) {
- xmlLoadExtDtdDefaultValue |= XML_COMPLETE_ATTRS;
- if (noent != 0) xmlSubstituteEntitiesDefault(1);
- #ifdef LIBXML_VALID_ENABLED
-- if (valid != 0) xmlDoValidityCheckingDefaultValue = 1;
-+ /* If we will validate only a posteriori, ensure that entities get loaded,
-+ * but suppress validation messages during initial parsing */
-+ if (postvalid != 0 && valid == 0)
-+ options |= XML_PARSE_DTDVALID | XML_PARSE_NOERROR | XML_PARSE_NOWARNING;
-+ else if (valid != 0)
-+ xmlDoValidityCheckingDefaultValue = 1;
- #endif /* LIBXML_VALID_ENABLED */
- if ((htmlout) && (!nowrap)) {
- xmlGenericError(xmlGenericErrorContext,
---
-1.9.3
-