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

MyISAM repair unsafe usage of TMD files

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.1.67, 5.2.14, 5.3.12, 5.5.34, 10.0.7
    • Fix Version/s: 5.5.35, 10.0.8, 5.3.13, 5.2.15, 5.1.73
    • Component/s: None
    • Labels:
      None

      Description

      When MyISAM repairs a table it creates a temporary file (tablename.TMD) that will later be renamed to tablename.MYD. Due to insufficient checks it is possible to trick MyISAM into creating a TMD file in the protected location (such as datadir).

        Gliffy Diagrams

          Attachments

            Activity

            Show
            dbart Daniel Bartholomew added a comment - http://bazaar.launchpad.net/~maria-captains/maria/5.5/revision/2502.565.61

              People

              • Assignee:
                serg Sergei Golubchik
                Reporter:
                serg Sergei Golubchik
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 15 minutes
                  1h 15m