summaryrefslogtreecommitdiff
path: root/www/libwww/patches/patch-ar
diff options
context:
space:
mode:
Diffstat (limited to 'www/libwww/patches/patch-ar')
-rw-r--r--www/libwww/patches/patch-ar15
1 files changed, 15 insertions, 0 deletions
diff --git a/www/libwww/patches/patch-ar b/www/libwww/patches/patch-ar
new file mode 100644
index 00000000000..50a58bbdca8
--- /dev/null
+++ b/www/libwww/patches/patch-ar
@@ -0,0 +1,15 @@
+$NetBSD: patch-ar,v 1.1 2009/11/08 08:38:54 obache Exp $
+
+CVE-2009-3720
+
+--- modules/expat/xmltok/xmltok_impl.c.orig 2000-08-28 08:52:01.000000000 +0000
++++ modules/expat/xmltok/xmltok_impl.c
+@@ -1753,7 +1753,7 @@ void PREFIX(updatePosition)(const ENCODI
+ const char *end,
+ POSITION *pos)
+ {
+- while (ptr != end) {
++ while (ptr < end) {
+ switch (BYTE_TYPE(enc, ptr)) {
+ #define LEAD_CASE(n) \
+ case BT_LEAD ## n: \