revert e7fca5d looks wrong.
Please double check the revert in master. Is the commit message wrong or did the wrong thing get removed?
It is not removing the patch introduced 6765fcec154b1c81250c124fcb46414dcac9be12
+++ b/meta/recipes-core/libxml/libxml2_2.9.4.bb <http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-core/libxml/libxml2_2.9.4.bb?id=6765fcec154b1c81250c124fcb46414dcac9be12>
@@ -23,6 +23,7 @@ SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz;name=libtar \
file://libxml2-CVE-2016-5131.patch \
file://libxml2-CVE-2016-4658.patch \
file://libxml2-fix_NULL_pointer_derefs.patch \
+ file://libxml2-fix_and_simplify_xmlParseStartTag2.patch \
file://CVE-2016-9318.patch \
file://0001-Make-ptest-run-the-python-tests-if-python-is-enabled.patch \
e7fca5d libxml2: Revert "Add an XML_PARSE_NOXXE flag to block all entities loading even local"
its removing a CVE fix not the patch above.
index 677d8c9..f67c47d 100644
meta/recipes-core/libxml/libxml2_2.9.4.bb <http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-core/libxml/libxml2_2.9.4.bb?id=e7fca5d0d8811d5b664e6fda734221e159fcbde5> renamed from meta/recipes-core/libxml/libxml2_2.9.4.bb <http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-core/libxml/libxml2_2.9.4.bb?id=80aac29b3845cd5e415fe4a30eb7daad10764e90> +0 -0
@@ -28,7 +28,6 @@ SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz;name=libtar \
file://libxml2-CVE-2017-9049_CVE-2017-9050.patch \
file://libxml2-CVE-2017-5969.patch \
file://libxml2-CVE-2017-0663.patch \
- file://CVE-2016-9318.patch \
file://0001-Make-ptest-run-the-python-tests-if-python-is-enabled.patch \
"
Quoted 4 lines · On 28 June 2017 at 17:58, akuster808 <[email protected]> wrote:
Please double check the revert in master. Is the commit message wrong or did the wrong thing get removed?
The revert in master:
libxml2: Revert "Add an XML_PARSE_NOXXE flag to block all entities loading even local"
.../libxml/libxml2/CVE-2016-9318.patch | 207
---------------------
-From 7fa1cd31552d52d50a9101f07c816ff6dd2d9f19 Mon Sep 17 00:00:00 2001 -From: Doran Moppert <[email protected]>
-Date: Fri, 7 Apr 2017 16:45:56 +0200
-Subject: [PATCH] Add an XML_PARSE_NOXXE flag to block all entities loading
- even local
So the commit message matches the summary of the patch being deleted.
The addition of this patch:
libxml2: CVE-2016-9318
(quoted diff) +0 -0
b/meta/recipes-core/libxml/libxml2/CVE-2016-9318.patch new file mode 100644
index 00000000000..3581ab83df1
meta/recipes-core/libxml/libxml2/CVE-2016-9318.patch new file +5 -0
@@ -0,0 +1,207 @@ +From 7fa1cd31552d52d50a9101f07c816ff6dd2d9f19 Mon Sep 17 00:00:00 2001 +From: Doran Moppert <[email protected]> +Date: Fri, 7 Apr 2017 16:45:56 +0200 +Subject: [PATCH] Add an XML_PARSE_NOXXE flag to block all entities loading + even local
So the addition of the patch also matches.
The revert actually happened upstream:
https://git.gnome.org/browse/libxml2/commit/id=030b1f7a27c22f9237eddca49ec5e620b6258d7d
Conclusion: I think the patch is good.
Ross