[MDEV-26159] maria 10.3 debian-sys-maint password may contain spaces Created: 2021-07-16 Updated: 2022-08-04 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.3.31, 10.3.32 |
| Fix Version/s: | 10.3 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Walter Doekes | Assignee: | Otto Kekäläinen |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
In this piece of code: it says:
But if – for some reason – the password ends in whitespace, this whitespaces is included in the password later on:
But all the mysql tools ignore this whitespace. So any attempt to log in using the debian.cnf fails. Suggested fix:
Test:
Cheers, P.S. 10.4+ is unaffected, as it uses passwordless login. |
| Comments |
| Comment by Anel Husakovic [ 2021-07-16 ] |
|
otto FYI |