[MDEV-27089] Windows : incorrect handling of non-ASCIIs in get_password Created: 2021-11-19  Updated: 2022-01-18  Resolved: 2022-01-18

Status: Closed
Project: MariaDB Server
Component/s: Character Sets, Platform Windows
Affects Version/s: 10.2, 10.3, 10.4, 10.5, 10.6, 10.7
Fix Version/s: 10.8.1

Type: Bug Priority: Minor
Reporter: Vladislav Vaintroub Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
PartOf
is part of MDEV-26713 Windows - improve i18n support Closed

 Description   

There is an incorrect assumption of one byte per char in get_password(), due to its use of _getch().

This leads to undesirable effects, like printing mask character '*' multiple times, if one character takes more than a single byte.


Generated at Thu Feb 08 09:50:15 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.