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

55f270
commit e5b609876e5a266725fba1c377b0ac95c737e6ed
55f270
Author: Tomas Korbar <tkorbar@redhat.com>
55f270
Date:   Mon May 2 12:44:06 2022 +0200
55f270
55f270
    Fix CVE-2022-25314
55f270
55f270
diff --git a/lib/xmlparse.c b/lib/xmlparse.c
55f270
index 1f1413f..ceeec26 100644
55f270
--- a/lib/xmlparse.c
55f270
+++ b/lib/xmlparse.c
55f270
@@ -7525,7 +7525,7 @@ static XML_Char *
55f270
 copyString(const XML_Char *s,
55f270
            const XML_Memory_Handling_Suite *memsuite)
55f270
 {
55f270
-    int charsRequired = 0;
55f270
+    size_t charsRequired = 0;
55f270
     XML_Char *result;
55f270
 
55f270
     /* First determine how long the string is */