Skip to content

Commit 064dd48

Browse files
committed
Merge branch 'PHP-8.1'
* PHP-8.1: Fix signedness confusion in php_filter_validate_domain()
2 parents 2fc1ddc + 1c3374c commit 064dd48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/filter/logical_filters.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ void php_filter_validate_regexp(PHP_INPUT_FILTER_PARAM_DECL) /* {{{ */
504504
}
505505
}
506506

507-
static int _php_filter_validate_domain(char * domain, int len, zend_long flags) /* {{{ */
507+
static int _php_filter_validate_domain(char * domain, size_t len, zend_long flags) /* {{{ */
508508
{
509509
char *e, *s, *t;
510510
size_t l;

0 commit comments

Comments
 (0)