[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: |
|
||||||||
| 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. |