expat: add security patch for CVE-2009-3560
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
3311e41dc0
commit
e482a430ec
14
package/expat/expat-2.0.1-CVE-2009-3560.patch
Normal file
14
package/expat/expat-2.0.1-CVE-2009-3560.patch
Normal file
@ -0,0 +1,14 @@
|
||||
http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-3560
|
||||
|
||||
--- a/lib/xmlparse.c
|
||||
+++ b/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 */
|
Loading…
Reference in New Issue
Block a user