[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:
Relates
relates to MDEV-19883 [MIPS] repair_symlink-5543 fails: ELO... Closed

 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

Generated at Thu Feb 08 07:05:10 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.