summaryrefslogtreecommitdiff
path: root/sql
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 /sql
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 'sql')
-rw-r--r--sql/sql_acl.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc
index 8670f5b390d..ac1adf9e58b 100644
--- a/sql/sql_acl.cc
+++ b/sql/sql_acl.cc
@@ -8178,6 +8178,7 @@ static bool send_server_handshake_packet(MPVIO_EXT *mpvio,
int2store(end+5, thd->client_capabilities >> 16);
end[7]= data_len;
DBUG_EXECUTE_IF("poison_srv_handshake_scramble_len", end[7]= -100;);
+ DBUG_EXECUTE_IF("increase_srv_handshake_scramble_len", end[7]= 50;);
bzero(end + 8, 10);
end+= 18;
/* write scramble tail */