mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
5.5 merge
This commit is contained in:
@ -4444,8 +4444,8 @@ static int old_password_auth_client(MYSQL_PLUGIN_VIO *vio, MYSQL *mysql)
|
||||
DBUG_RETURN(CR_SERVER_HANDSHAKE_ERR);
|
||||
|
||||
/* save it in MYSQL */
|
||||
memmove(mysql->scramble, pkt, pkt_len);
|
||||
mysql->scramble[pkt_len] = 0;
|
||||
memmove(mysql->scramble, pkt, pkt_len - 1);
|
||||
mysql->scramble[pkt_len - 1] = 0;
|
||||
}
|
||||
|
||||
if (mysql->passwd[0])
|
||||
|
Reference in New Issue
Block a user