summaryrefslogtreecommitdiff
path: root/lib/libexpat
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2009-12-27 18:42:46 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2009-12-27 18:42:46 +0000
commitb2f99737e6151b69866b7bb6647376aeb58fe28f (patch)
tree31f5aa875801f594a7da457203ff7d293f22bc80 /lib/libexpat
parentab7c66ad921100b2652f7f7b55a6ce7df134a48a (diff)
Security fix for CVE-2009-3560, which could allow attackers to cause
a DoS using a specially crafted XML document with malformed UTF-8 sequences. Patch taken from upstream CVS.
Diffstat (limited to 'lib/libexpat')
-rw-r--r--lib/libexpat/lib/xmlparse.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libexpat/lib/xmlparse.c b/lib/libexpat/lib/xmlparse.c
index eafc7754914..49b1e2f61b9 100644
--- a/lib/libexpat/lib/xmlparse.c
+++ b/lib/libexpat/lib/xmlparse.c
@@ -3731,7 +3731,6 @@ doProlog(XML_Parser parser,
return XML_ERROR_NO_ELEMENTS;
default:
tok = -tok;
- next = end;
break;
}
}