Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-27089

Windows : incorrect handling of non-ASCIIs in get_password

    XMLWordPrintable

Details

    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.

      Attachments

        Issue Links

          Activity

            People

              wlad Vladislav Vaintroub
              wlad Vladislav Vaintroub
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0d
                  0d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 0.5h
                  0.5h

                  Git Integration

                    Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.