mirror of https://github.com/python/cpython
- Fix DoS via XML document with malformed UTF-8 sequences (CVE_2009_3560).
This commit is contained in:
parent
8cd94b4306
commit
166f80860e
11
Misc/NEWS
11
Misc/NEWS
|
@ -4,6 +4,17 @@ Python News
|
|||
|
||||
(editors: check NEWS.help for information about editing NEWS using ReST.)
|
||||
|
||||
What's New in Python 2.5.5c2?
|
||||
=============================
|
||||
|
||||
*Release date: xx-xxx-2010*
|
||||
|
||||
Extension Modules
|
||||
-----------------
|
||||
|
||||
- Fix DoS via XML document with malformed UTF-8 sequences (CVE_2009_3560).
|
||||
|
||||
|
||||
What's New in Python 2.5.5c1?
|
||||
=============================
|
||||
|
||||
|
|
|
@ -3682,6 +3682,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 */
|
||||
|
|
Loading…
Reference in New Issue