Skip to content

Commit ba5305d

Browse files
committed
Merge branch 'PHP-8.4'
* PHP-8.4: Fix signed int overflow in scanner
2 parents 595abee + 7f9809c commit ba5305d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_language_scanner.l

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ ZEND_API void zend_multibyte_yyinput_again(zend_encoding_filter old_input_filter
921921
ZVAL_STRINGL(zendlval, yytext, yyleng); \
922922
}
923923

924-
static zend_result zend_scan_escape_string(zval *zendlval, char *str, int len, char quote_type)
924+
static zend_result zend_scan_escape_string(zval *zendlval, char *str, size_t len, char quote_type)
925925
{
926926
char *s, *t;
927927
char *end;

0 commit comments

Comments
 (0)