Merge branch 'PHP-8.3'

* PHP-8.3:
  Fix incorrect charset length in check_mb_eucjpms()
This commit is contained in:
Niels Dossche 2024-03-22 11:32:23 +01:00
commit b9bb8d62ca

View File

@ -331,7 +331,7 @@ static unsigned int check_mb_eucjpms(const char * const start, const char * cons
}
if (valid_eucjpms_ss3(start[0]) && (end - start) > 2 && valid_eucjpms(start[1]) &&
valid_eucjpms(start[2])) {
return 2;
return 3;
}
return 0;
}