[MDEV-6827] ConnectSE: check the sources about UCS2, UTF16, UTF32 safety Created: 2014-10-02  Updated: 2023-11-28

Status: Open
Project: MariaDB Server
Component/s: None
Affects Version/s: 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9
Fix Version/s: 10.4, 10.5, 10.6

Type: Bug Priority: Minor
Reporter: Alexander Barkov Assignee: Alexander Barkov
Resolution: Unresolved Votes: 0
Labels: None


 Description   

The code in storage/connect/. use the results of val_str() in
functions that assume 0-terminated string (e.g. strcat, strncat, etc).
This will have unpredictable results if the source Item character set
has mbminlen>1, which includes ucs2, utf16, utf16le, utf32.
The code should be checked for safety against these character sets.


Generated at Thu Feb 08 07:14:53 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.