mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Merge branch 'PHP-8.3'
* PHP-8.3: Fix incorrect charset length in check_mb_eucjpms()
This commit is contained in:
commit
b9bb8d62ca
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue