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

symlinked table name is not encoded

    XMLWordPrintable

Details

    • Can result in unexpected behaviour

    Description

      --replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR
      eval create table `../t1` (a int) engine=myisam
        data directory='$MYSQL_TMP_DIR'
        index directory='$MYSQL_TMP_DIR';
      --list_files $MYSQL_TMP_DIR
      drop table `../t1`;
      

      The above creates $MYSQL_TMP_DIR/../t1/MYD instead of
      $MYSQL_TMP_DIR/@002e@002e@002ft1.MYD. Same for MYI and for Aria.

      Reported by Ben Bidner (Automattic.com Security Team).

      Attachments

        Activity

          People

            serg Sergei Golubchik
            serg Sergei Golubchik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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

                Git Integration

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