Kaydet (Commit) 0d948ac9 authored tarafından Matthias Klose's avatar Matthias Klose

- Expat: Fix DoS via XML document with malformed UTF-8 sequences

  (CVE_2009_3560).
üst 3b0f9b01
...@@ -66,6 +66,12 @@ Library ...@@ -66,6 +66,12 @@ Library
Extension extra options may change the output without changing the .c Extension extra options may change the output without changing the .c
file). Initial patch by Collin Winter. file). Initial patch by Collin Winter.
Extension Modules
-----------------
- Expat: Fix DoS via XML document with malformed UTF-8 sequences
(CVE_2009_3560).
Build Build
----- -----
......
...@@ -3682,6 +3682,9 @@ doProlog(XML_Parser parser, ...@@ -3682,6 +3682,9 @@ doProlog(XML_Parser parser,
return XML_ERROR_UNCLOSED_TOKEN; return XML_ERROR_UNCLOSED_TOKEN;
case XML_TOK_PARTIAL_CHAR: case XML_TOK_PARTIAL_CHAR:
return XML_ERROR_PARTIAL_CHAR; return XML_ERROR_PARTIAL_CHAR;
case -XML_TOK_PROLOG_S:
tok = -tok;
break;
case XML_TOK_NONE: case XML_TOK_NONE:
#ifdef XML_DTD #ifdef XML_DTD
/* for internal PE NOT referenced between declarations */ /* 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