mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
fix a crash in new code
This commit is contained in:
parent
46ff954ca7
commit
942ea00eea
@ -141,7 +141,9 @@ mysqlnd_auth_handshake(MYSQLND * conn,
|
||||
}
|
||||
|
||||
SET_NEW_MESSAGE(conn->last_message, conn->last_message_len, auth_resp_packet->message, auth_resp_packet->message_len, conn->persistent);
|
||||
conn->charset = mysqlnd_find_charset_nr(auth_packet->charset_no);
|
||||
if (use_full_blown_auth_packet == TRUE) {
|
||||
conn->charset = mysqlnd_find_charset_nr(auth_packet->charset_no);
|
||||
}
|
||||
ret = PASS;
|
||||
end:
|
||||
PACKET_FREE(change_auth_resp_packet);
|
||||
|
Loading…
Reference in New Issue
Block a user