[CONC-564] ps_protocol: incorrect max_length values for integers Created: 2021-07-26  Updated: 2021-07-26  Resolved: 2021-07-26

Status: Closed
Project: MariaDB Connector/C
Component/s: Prepared Statements
Affects Version/s: 3.2.3, 3.1.13
Fix Version/s: 3.2.4, 3.1.14

Type: Bug Priority: Major
Reporter: Georg Richter Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None


 Description   

The maximum length values for integer values in ma_stmt_codec.c differ from maximum length values in text protocol:

  • All values include one extra byte (probably terminating '\0' character)
  • YEAR value is incorrect: maximum allowed value is 2155 = 4 digits (and not 0xFFFF).

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