expat: add security patch for CVE-2009-3560
PATCH 1/1 expat: add security patch for CVE-2009-3560
Signed-off-by Gustavo Zacarias <[email protected]>
--- package/expat/expat-2.0.1-CVE-2009-3560.patch | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) create mode 100644 package/expat/expat-2.0.1-CVE-2009-3560.patch
package/expat/expat-2.0.1-CVE-2009-3560.patch new file +14 -0
@@ -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 */
Signature · 1 line
1.7.3.4
PATCH 1/1 expat: add security patch for CVE-2009-3560
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
Gustavo> Signed-off-by: Gustavo Zacarias <[email protected]>
I got a bit confused at first, as there's several variants of this patch floating around, and reports of some of them breaking stuff - But this seems to be the correct one, so committed - Thanks.
Signature · 1 line
Bye, Peter Korsgaard