summaryrefslogtreecommitdiff
path: root/textproc/libxml2/patches/patch-test_XPath_xptr_vidbase
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/libxml2/patches/patch-test_XPath_xptr_vidbase')
-rw-r--r--textproc/libxml2/patches/patch-test_XPath_xptr_vidbase11
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/libxml2/patches/patch-test_XPath_xptr_vidbase b/textproc/libxml2/patches/patch-test_XPath_xptr_vidbase
new file mode 100644
index 00000000000..e8ba5e73cdd
--- /dev/null
+++ b/textproc/libxml2/patches/patch-test_XPath_xptr_vidbase
@@ -0,0 +1,11 @@
+$NetBSD: patch-test_XPath_xptr_vidbase,v 1.1.2.2 2016/12/28 17:14:20 bsiegert Exp $
+
+CVE-2016-5131
+https://git.gnome.org/browse/libxml2/commit/?id=9ab01a277d71f54d3143c2cf333c5c2e9aaedd9e
+
+--- test/XPath/xptr/vidbase.orig 2016-12-27 02:22:06.000000000 +0000
++++ test/XPath/xptr/vidbase
+@@ -1,2 +1,3 @@
+ xpointer(id('chapter1')/p)
+ xpointer(id('chapter1')/p[1]/range-to(following-sibling::p[2]))
++xpointer(range-to(id('chapter2')))