components/libexpat/patches/CVE-2009-3560.patch
changeset 274 816a4eb924b1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libexpat/patches/CVE-2009-3560.patch	Wed Jun 01 01:18:02 2011 -0700
@@ -0,0 +1,12 @@
+--- lib/xmlparse.c	2009/09/29 02:49:16	1.164
++++ lib/xmlparse.c	2009/12/29 18:42:05	1.166
+@@ -3701,6 +3701,9 @@
+         return XML_ERROR_UNCLOSED_TOKEN;
+       case XML_TOK_PARTIAL_CHAR:
+         return XML_ERROR_PARTIAL_CHAR;
++      case -XML_TOK_PROLOG_S:
++        tok = -tok;
++        break;
+       case XML_TOK_NONE:
+ #ifdef XML_DTD
+         /* for internal PE NOT referenced between declarations */