Commit 690d13ab authored by Matthias Klose's avatar Matthias Klose

Merged revisions 77680 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77680 | matthias.klose | 2010-01-22 01:39:04 +0100 (Fr, 22 Jan 2010) | 3 lines

  - Expat: Fix DoS via XML document with malformed UTF-8 sequences
    (CVE_2009_3560).
........
parent b5ff9fac
......@@ -169,6 +169,15 @@ Library
- Issue #5037: Proxy the __unicode__ special method to __unicode__ instead of
__str__.
Extension Modules
-----------------
- Expat: Fix DoS via XML document with malformed UTF-8 sequences
(CVE_2009_3560).
Build
-----
>>>>>>> .merge-right.r77680
Build
-----
......
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment