mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix a memleak with mysqlnd and SSL
This commit is contained in:
parent
e3cf72b829
commit
74ed42c169
3 changed files with 6 additions and 1 deletions
|
@ -787,7 +787,7 @@ mysqlnd_sha256_auth_get_auth_data(struct st_mysqlnd_authentication_plugin * self
|
|||
DBG_INF_FMT("salt(%d)=[%.*s]", auth_plugin_data_len, auth_plugin_data_len, auth_plugin_data);
|
||||
|
||||
|
||||
if (conn->protocol_frame_codec->data->ssl) {
|
||||
if (conn->vio->data->ssl) {
|
||||
DBG_INF("simple clear text under SSL");
|
||||
/* clear text under SSL */
|
||||
*auth_data_len = passwd_len;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue