Bug #113962 Contribution: Fix offset check for insert position overflow
Submitted: 12 Feb 2024 14:05 Modified: 14 Jul 14:22
Reporter: OCA Admin (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: DML Severity:S3 (Non-critical)
Version:8.0 OS:Any
Assigned to: CPU Architecture:Any
Tags: Contribution

[12 Feb 2024 14:05] OCA Admin
Description:
This bug tracks a contribution by Dirkjan Bussink (Github user: dbussink) as described in http://github.com/mysql/mysql-server/pull/517

How to repeat:
See description

Suggested fix:
See contribution code attached
[12 Feb 2024 14:05] OCA Admin
Contribution submitted via Github - Fix offset check for insert position overflow 
(*) Contribution by Dirkjan Bussink (Github dbussink, mysql-server/pull/517#issuecomment-1936913062): I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Contribution: git_patch_1719908733.txt (text/plain), 3.38 KiB.

[12 Feb 2024 15:10] MySQL Verification Team
Hello Dirkjan Bussink,

Thank you for the report and contribution.

regards,
Umesh
[28 May 1:13] MySQL Admin
Posted by developer: Bug status updated to 'Documenting'
[14 Jul 14:22] Edward Gilmore
Posted by developer:
 
Added the following note to the MySQL Server 9.7.2 and 26.7.0 release notes:

The behavior of INSERT() was incorrect for multibyte characters. It inserted characters 
even if the given position was beyond the input string.
Our thanks to Dirkjan Bussink for the contribution.