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

mysql_change_user() with long passwords throws an error

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Followup from MDEV-38431

      When COM_CHANGE_USER is sent with a password longer than 255 the client library returns an error. This is due to the fact that the code expects that the password length can always be encoded in one byte.
      This is not the case for regular logins: there the code takes one byte for password lengths up to 251 and then reverts to normal variable length encoding for the length used by the protocol.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gkodinov Georgi Kodinov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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