diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-04-30 23:06:09 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-05-01 00:30:17 +0200 |
commit | fab383aac0a713b48765d0464428199470ae8c0a (patch) | |
tree | a7eb29a44716bd0a333d48a60502660addc23c20 /sql/sql_acl.cc | |
parent | a52c46e06935b09ff9219ae7684b5a29394e992b (diff) | |
download | mariadb-git-fab383aac0a713b48765d0464428199470ae8c0a.tar.gz |
Use after free in authentication
Diffstat (limited to 'sql/sql_acl.cc')
-rw-r--r-- | sql/sql_acl.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc index 16358409124..14f34db6ccc 100644 --- a/sql/sql_acl.cc +++ b/sql/sql_acl.cc @@ -8217,6 +8217,7 @@ static bool send_plugin_request_packet(MPVIO_EXT *mpvio, const char *client_auth_plugin= ((st_mysql_auth *) (plugin_decl(mpvio->plugin)->info))->client_auth_plugin; + DBUG_EXECUTE_IF("auth_disconnect", { vio_close(net->vio); DBUG_RETURN(1); }); DBUG_ASSERT(client_auth_plugin); /* |