diff --git a/NEWS b/NEWS index 7a23a3b885b..b97d3da73f4 100644 --- a/NEWS +++ b/NEWS @@ -9,6 +9,9 @@ PHP NEWS (Tim Düsterhus) . Fixed bug GH-8160 (ZTS support on Alpine is broken). (Michael Voříšek) +- Filter: + . Fixed signedness confusion in php_filter_validate_domain(). (cmb) + - Intl: . Fixed bug GH-8115 (Can't catch arg type deprecation when instantiating Intl classes). (ilutov) diff --git a/ext/filter/logical_filters.c b/ext/filter/logical_filters.c index 91bf929a9d0..96a6c72b56c 100644 --- a/ext/filter/logical_filters.c +++ b/ext/filter/logical_filters.c @@ -504,7 +504,7 @@ void php_filter_validate_regexp(PHP_INPUT_FILTER_PARAM_DECL) /* {{{ */ } } -static int _php_filter_validate_domain(char * domain, int len, zend_long flags) /* {{{ */ +static int _php_filter_validate_domain(char * domain, size_t len, zend_long flags) /* {{{ */ { char *e, *s, *t; size_t l;