diff options
author | unknown <svoj@mysql.com/june.mysql.com> | 2007-11-12 15:02:42 +0400 |
---|---|---|
committer | unknown <svoj@mysql.com/june.mysql.com> | 2007-11-12 15:02:42 +0400 |
commit | a1e38552bb2d265b9bf001d1b886206e4358c368 (patch) | |
tree | 3f0113d61ea6d706ab05ab54b095fcfb333a30dd /mysql-test/t/symlink.test | |
parent | ac9fea61e85c0d8fe12f0c91e2286eee55ecd9f6 (diff) | |
parent | ff4b438be005a3cffb5100db93e10da0f7980922 (diff) | |
download | mariadb-git-a1e38552bb2d265b9bf001d1b886206e4358c368.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
mysys/my_symlink2.c:
Auto merged
mysql-test/r/symlink.result:
SCCS merged
mysql-test/t/symlink.test:
SCCS merged
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) # |