components/libexpat/patches/CVE-2009-3560.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Wed, 01 Jun 2011 01:18:02 -0700
changeset 274 816a4eb924b1
permissions -rw-r--r--
7049760 Move libexpat to userland
--- 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 */