Blame SOURCES/httpd-2.4.34-CVE-2022-28615.patch

879b17
diff --git a/server/util.c b/server/util.c
879b17
index 263270e..e3c79a9 100644
879b17
--- a/server/util.c
879b17
+++ b/server/util.c
879b17
@@ -186,7 +186,7 @@ AP_DECLARE(char *) ap_ht_time(apr_pool_t *p, apr_time_t t, const char *fmt,
879b17
  */
879b17
 AP_DECLARE(int) ap_strcmp_match(const char *str, const char *expected)
879b17
 {
879b17
-    int x, y;
879b17
+    apr_size_t x, y;
879b17
 
879b17
     for (x = 0, y = 0; expected[y]; ++y, ++x) {
879b17
         if ((!str[x]) && (expected[y] != '*'))
879b17
@@ -210,7 +210,7 @@ AP_DECLARE(int) ap_strcmp_match(const char *str, const char *expected)
879b17
 
879b17
 AP_DECLARE(int) ap_strcasecmp_match(const char *str, const char *expected)
879b17
 {
879b17
-    int x, y;
879b17
+    apr_size_t x, y;
879b17
 
879b17
     for (x = 0, y = 0; expected[y]; ++y, ++x) {
879b17
         if (!str[x] && expected[y] != '*')