summaryrefslogtreecommitdiff
path: root/mysql-test/t/connect_debug.test
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2020-01-17 15:08:11 +0100
committerSergei Golubchik <serg@mariadb.org>2020-01-18 00:05:16 +0100
commit4d1c1b23e1373bbd4e72f524e855f1db076d2c73 (patch)
treea8bd7ad84d5e8d200136e30861148bb0c17fc162 /mysql-test/t/connect_debug.test
parent49b9ce15ef1e27ce27b6c173ec8f82dcdffba956 (diff)
downloadmariadb-git-4d1c1b23e1373bbd4e72f524e855f1db076d2c73.tar.gz
Bug#29630767 - USE OF UNINITIALIZED VALUE IN LIBMYSQL (CLIENT.CC FUNCTION RUN_PLUGIN_AUTH)mariadb-5.5.67
Diffstat (limited to 'mysql-test/t/connect_debug.test')
-rw-r--r--mysql-test/t/connect_debug.test15
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/t/connect_debug.test b/mysql-test/t/connect_debug.test
index 7a2f2872b79..de7a292ce67 100644
--- a/mysql-test/t/connect_debug.test
+++ b/mysql-test/t/connect_debug.test
@@ -21,3 +21,18 @@ create user 'bad' identified by 'worse';
--exec $MYSQL --default-auth=mysql_old_password --user=bad --password=worse 2>&1
set global debug_dbug=@old_dbug;
drop user bad;
+
+#
+# Bug#29630767 - USE OF UNINITIALIZED VALUE IN LIBMYSQL (CLIENT.CC FUNCTION RUN_PLUGIN_AUTH)
+#
+set global debug_dbug='+d,increase_srv_handshake_scramble_len';
+--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR $MASTER_MYPORT MASTER_MYPORT
+--error 2027
+connect con1,localhost,root;
+set global debug_dbug=@old_dbug;
+
+set global debug_dbug='+d,poison_srv_handshake_scramble_len';
+--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR $MASTER_MYPORT MASTER_MYPORT
+--error 2027
+connect con2,localhost,root;
+set global debug_dbug=@old_dbug;