summaryrefslogtreecommitdiff
path: root/mysql-test/r/func_crypt.result
diff options
context:
space:
mode:
authorAlexey Kopytov <Alexey.Kopytov@sun.com>2009-06-01 16:00:38 +0400
committerAlexey Kopytov <Alexey.Kopytov@sun.com>2009-06-01 16:00:38 +0400
commit7561bc9212a22e3d591033103b7b404503fe721b (patch)
tree56315491cf4cef28a3140a8445cc412749dac6d6 /mysql-test/r/func_crypt.result
parent405bd2af117384e009c3feffe1fd7d9019bf9d2b (diff)
parent1b8322c3c6f406bd119145c6f38ddeb802e1b9fc (diff)
downloadmariadb-git-7561bc9212a22e3d591033103b7b404503fe721b.tar.gz
Manual merge.
Diffstat (limited to 'mysql-test/r/func_crypt.result')
-rw-r--r--mysql-test/r/func_crypt.result11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/r/func_crypt.result b/mysql-test/r/func_crypt.result
index 25b921681c5..c2f369b3941 100644
--- a/mysql-test/r/func_crypt.result
+++ b/mysql-test/r/func_crypt.result
@@ -95,3 +95,14 @@ Note 1003 select password('idkfa ') AS `password('idkfa ')`,old_password('idkfa'
select encrypt('1234','_.');
encrypt('1234','_.')
#
+#
+# Bug #44767: invalid memory reads in password() and old_password()
+# functions
+#
+CREATE TABLE t1(c1 MEDIUMBLOB);
+INSERT INTO t1 VALUES (REPEAT('a', 1024));
+SELECT OLD_PASSWORD(c1), PASSWORD(c1) FROM t1;
+OLD_PASSWORD(c1) PASSWORD(c1)
+77023ffe214c04ff *82E58A2C08AAFE72C8EB523069CD8ADB33F78F58
+DROP TABLE t1;
+End of 5.0 tests