Skip to content

Commit

Permalink
Backslash added to wrong cachacters of names of client plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
sanja-byelkin committed Jul 25, 2019
1 parent 2536c0b commit cc37250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql-common/client_plugin.c
Expand Up @@ -363,7 +363,7 @@ mysql_load_plugin_v(MYSQL *mysql, const char *name, int type,
mysql->options.extension->plugin_dir : PLUGINDIR, "/", mysql->options.extension->plugin_dir : PLUGINDIR, "/",
name, SO_EXT, NullS); name, SO_EXT, NullS);


if (strpbrk(name, "()[]!@#$%^&/*;.,'?")) if (strpbrk(name, "()[]!@#$%^&/*;.,'?\\"))
{ {
errmsg= "invalid plugin name"; errmsg= "invalid plugin name";
goto err; goto err;
Expand Down

0 comments on commit cc37250

Please sign in to comment.