mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 07:35:32 +02:00
5.2->5.3 merge
This commit is contained in:
commit
4f67a14700
104 changed files with 1760 additions and 1133 deletions
|
|
@ -3940,8 +3940,8 @@ static int old_password_auth_client(MYSQL_PLUGIN_VIO *vio, MYSQL *mysql)
|
|||
return CR_SERVER_HANDSHAKE_ERR;
|
||||
|
||||
/* save it in MYSQL */
|
||||
memcpy(mysql->scramble, pkt, pkt_len);
|
||||
mysql->scramble[pkt_len] = 0;
|
||||
memcpy(mysql->scramble, pkt, pkt_len - 1);
|
||||
mysql->scramble[pkt_len - 1] = 0;
|
||||
}
|
||||
|
||||
if (mysql->passwd[0])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue