gentleknife / rpms / expat

Forked from rpms/expat 4 years ago
Clone

Blame SOURCES/expat-2.2.5-CVE-2018-20843.patch

dd5dd7
dd5dd7
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-20843
dd5dd7
https://github.com/libexpat/libexpat/commit/11f8838bf99ea0a6f0b76f9760c43704d00c4ff6
dd5dd7
dd5dd7
--- libexpat-R_2_2_5/expat/lib/xmlparse.c.cve20843
dd5dd7
+++ libexpat-R_2_2_5/expat/lib/xmlparse.c
dd5dd7
@@ -6057,7 +6057,7 @@ setElementTypePrefix(XML_Parser parser,
dd5dd7
       else
dd5dd7
         poolDiscard(&dtd->pool);
dd5dd7
       elementType->prefix = prefix;
dd5dd7
-
dd5dd7
+      break;
dd5dd7
     }
dd5dd7
   }
dd5dd7
   return 1;