diff options
author | Sergei Golubchik <serg@mariadb.org> | 2019-07-21 12:09:17 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-07-21 19:47:44 +0200 |
commit | 82563c5fc0a40d64d8e8e9de2bf6f904fa6c0dc6 (patch) | |
tree | f421f6e8e823b9a472f0cfd8175bd504d795b040 /sql/sql_acl.cc | |
parent | f90040fd9ccb99cb4541d181a7052c37dc38decb (diff) | |
download | mariadb-git-82563c5fc0a40d64d8e8e9de2bf6f904fa6c0dc6.tar.gz |
MDEV-20110 don't try to load client plugins with invalid names
reported by lixtelnis
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 ef5fed1fc19..8670f5b390d 100644 --- a/sql/sql_acl.cc +++ b/sql/sql_acl.cc @@ -8256,6 +8256,7 @@ static bool send_plugin_request_packet(MPVIO_EXT *mpvio, ((st_mysql_auth *) (plugin_decl(mpvio->plugin)->info))->client_auth_plugin; DBUG_EXECUTE_IF("auth_disconnect", { vio_close(net->vio); DBUG_RETURN(1); }); + DBUG_EXECUTE_IF("auth_invalid_plugin", client_auth_plugin="foo/bar"; ); DBUG_ASSERT(client_auth_plugin); /* |