CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
aumix: fixed url and description.
[attic/ports/opt-cross.git] / expat / expat-CVE-2009-3560.patch
CommitLineData
4ef1299b
VM
1# http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3560
2# http://expat.cvs.sourceforge.net/viewvc/expat/expat/lib/xmlparse.c?view=patch&r1=1.166&r2=1.164
3
4--- xmlparse.c 2009/09/29 02:49:16 1.164
5+++ xmlparse.c 2009/12/29 18:42:05 1.166
6@@ -3701,6 +3701,9 @@
7 return XML_ERROR_UNCLOSED_TOKEN;
8 case XML_TOK_PARTIAL_CHAR:
9 return XML_ERROR_PARTIAL_CHAR;
10+ case -XML_TOK_PROLOG_S:
11+ tok = -tok;
12+ break;
13 case XML_TOK_NONE:
14 #ifdef XML_DTD
15 /* for internal PE NOT referenced between declarations */