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

mysqld gets SIGFPE when mysql.user table is empty

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.30, 5.2.14, 5.3.12
    • Fix Version/s: 5.5.31, 5.2.15, 5.3.13
    • Component/s: None
    • Labels:
      None

      Description

      I realize that having mysql.user empty is a very rare use case, but still I think it's not nice to just crash in the face of someone who screw his database like this.

      The culprit is sql/sql_acl.cc:8159:
      uint i= nr1 % acl_users.elements;

        Attachments

          Activity

            People

            • Assignee:
              serg Sergei Golubchik
              Reporter:
              pivanof Pavel Ivanov
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: