diff options
author | svoj@mysql.com/june.mysql.com <> | 2007-11-12 15:02:42 +0400 |
---|---|---|
committer | svoj@mysql.com/june.mysql.com <> | 2007-11-12 15:02:42 +0400 |
commit | a6def1f4aba3e5769e9277b6102fe7b7ccdb6a33 (patch) | |
tree | 3f0113d61ea6d706ab05ab54b095fcfb333a30dd /mysql-test/t/symlink.test | |
parent | 377f187066553d669013fcccd5ea8c8fcf7147a5 (diff) | |
parent | d06e2f922354bb1f98f5fe434ea5445c99af215d (diff) | |
download | mariadb-git-a6def1f4aba3e5769e9277b6102fe7b7ccdb6a33.tar.gz |
Merge mysql.com:/home/svoj/devel/mysql/BUG32111/mysql-4.0
into mysql.com:/home/svoj/devel/mysql/BUG32111/mysql-4.1-engines
Diffstat (limited to 'mysql-test/t/symlink.test')
-rw-r--r-- | mysql-test/t/symlink.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/t/symlink.test b/mysql-test/t/symlink.test index 010ef496399..fb35bd3c130 100644 --- a/mysql-test/t/symlink.test +++ b/mysql-test/t/symlink.test @@ -119,6 +119,18 @@ show create table t1; drop table t1; # +# BUG#32111 - Security Breach via DATA/INDEX DIRECORY and RENAME TABLE +# +--replace_result $MYSQL_TEST_DIR TEST_DIR +eval CREATE TABLE t1(a INT) +DATA DIRECTORY='$MYSQL_TEST_DIR/var/master-data/mysql' +INDEX DIRECTORY='$MYSQL_TEST_DIR/var/master-data/mysql'; +--replace_result $MYSQL_TEST_DIR TEST_DIR +--error 1 +RENAME TABLE t1 TO user; +DROP TABLE t1; + +# # Test specifying DATA DIRECTORY that is the same as what would normally # have been chosen. (Bug #8707) # |