[MDEV-5543] MyISAM repair unsafe usage of TMD files Created: 2014-01-20 Updated: 2019-06-27 Resolved: 2014-01-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| 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.1.73, 5.2.15, 5.3.13 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Sergei Golubchik | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| 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). |
| Comments |
| Comment by Daniel Bartholomew [ 2014-01-29 ] |
|
http://bazaar.launchpad.net/~maria-captains/maria/5.5/revision/2502.565.61 |