Blame SOURCES/expat-2.2.10-Prevent-integer-overflow-in-copyString.patch

cb7fe5
diff --git a/lib/xmlparse.c b/lib/xmlparse.c
cb7fe5
index 4b43e6132..a39377c23 100644
cb7fe5
--- a/lib/xmlparse.c
cb7fe5
+++ b/lib/xmlparse.c
cb7fe5
@@ -7412,7 +7412,7 @@ getElementType(XML_Parser parser, const ENCODING *enc, const char *ptr,
cb7fe5
 
cb7fe5
 static XML_Char *
cb7fe5
 copyString(const XML_Char *s, const XML_Memory_Handling_Suite *memsuite) {
cb7fe5
-  int charsRequired = 0;
cb7fe5
+  size_t charsRequired = 0;
cb7fe5
   XML_Char *result;
cb7fe5
 
cb7fe5
   /* First determine how long the string is */
cb7fe5