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.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.