Skip to content

Commit b9bb8d6

Browse files
committed
Merge branch 'PHP-8.3'
* PHP-8.3: Fix incorrect charset length in check_mb_eucjpms()
2 parents ec2ace7 + 67ce1d8 commit b9bb8d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysqlnd/mysqlnd_charset.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ static unsigned int check_mb_eucjpms(const char * const start, const char * cons
331331
}
332332
if (valid_eucjpms_ss3(start[0]) && (end - start) > 2 && valid_eucjpms(start[1]) &&
333333
valid_eucjpms(start[2])) {
334-
return 2;
334+
return 3;
335335
}
336336
return 0;
337337
}

0 commit comments

Comments
 (0)