Blame SOURCES/httpd-2.4.37-CVE-2022-28615.patch
|
|
0ac66a |
diff --git a/server/util.c b/server/util.c
|
|
|
0ac66a |
index eefdafa..45051b7 100644
|
|
|
0ac66a |
--- a/server/util.c
|
|
|
0ac66a |
+++ b/server/util.c
|
|
|
0ac66a |
@@ -186,7 +186,7 @@ AP_DECLARE(char *) ap_ht_time(apr_pool_t *p, apr_time_t t, const char *fmt,
|
|
|
0ac66a |
*/
|
|
|
0ac66a |
AP_DECLARE(int) ap_strcmp_match(const char *str, const char *expected)
|
|
|
0ac66a |
{
|
|
|
0ac66a |
- int x, y;
|
|
|
0ac66a |
+ apr_size_t x, y;
|
|
|
0ac66a |
|
|
|
0ac66a |
for (x = 0, y = 0; expected[y]; ++y, ++x) {
|
|
|
0ac66a |
if ((!str[x]) && (expected[y] != '*'))
|
|
|
0ac66a |
@@ -210,7 +210,7 @@ AP_DECLARE(int) ap_strcmp_match(const char *str, const char *expected)
|
|
|
0ac66a |
|
|
|
0ac66a |
AP_DECLARE(int) ap_strcasecmp_match(const char *str, const char *expected)
|
|
|
0ac66a |
{
|
|
|
0ac66a |
- int x, y;
|
|
|
0ac66a |
+ apr_size_t x, y;
|
|
|
0ac66a |
|
|
|
0ac66a |
for (x = 0, y = 0; expected[y]; ++y, ++x) {
|
|
|
0ac66a |
if (!str[x] && expected[y] != '*')
|