rpms/expat/devel expat-2.0.1-fix3560.patch,NONE,1.1
jorton
jorton at fedoraproject.org
Sun Jan 31 17:10:55 UTC 2010
Author: jorton
Update of /cvs/extras/rpms/expat/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8605
Added Files:
expat-2.0.1-fix3560.patch
Log Message:
- add patch
expat-2.0.1-fix3560.patch:
xmlparse.c | 3 +++
1 file changed, 3 insertions(+)
--- NEW FILE expat-2.0.1-fix3560.patch ---
Fix regression in the CVE-2009-3560 patch.
http://mail.libexpat.org/pipermail/expat-discuss/2009-December/002646.html
--- expat-2.0.1/lib/xmlparse.c.fix3560
+++ expat-2.0.1/lib/xmlparse.c
@@ -3703,6 +3703,9 @@ doProlog(XML_Parser parser,
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 */
More information about the scm-commits
mailing list