[CONC-155] Values read from MySQL TEXT columns are not null-terminated Created: 2016-02-08  Updated: 2016-02-09  Resolved: 2016-02-09

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: 2.1, 2.2.0
Fix Version/s: 2.2.3, 3.0.1

Type: Bug Priority: Minor
Reporter: Alex Kiliski Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None
Environment:

Centos6 64



 Description   

Using prepared statements to read MySQL TEXT columns leads to following results:

  • mysql_bind.length contains the correct length of the output text.
  • mysql_bind.buffer contains the required string but is not null-terminated.

Unfortunately I could not find exact specification for this behaviour but since it differs from MySQL C Connector and handling of other string types, I suppose it could be a bug.


Generated at Thu Feb 08 03:03:17 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.