mirror of
https://github.com/php/php-src.git
synced 2024-11-23 09:54:15 +08:00
Merge branch 'PHP-8.3'
* PHP-8.3: Fix incorrect charset length in check_mb_eucjpms()
This commit is contained in:
commit
b9bb8d62ca
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user