diff options
author | Alexey Botchkov <holyfoot@mysql.com> | 2008-07-28 19:22:12 +0500 |
---|---|---|
committer | Alexey Botchkov <holyfoot@mysql.com> | 2008-07-28 19:22:12 +0500 |
commit | 5237d24423560970b7bcf51828707d24091eb1cc (patch) | |
tree | cca238dfb698bc850fe41ec7b65e253bb331a4dc /sql/set_var.cc | |
parent | 2f3c97f9984e2ea95897fa93721e3ce8889baf16 (diff) | |
download | mariadb-git-5237d24423560970b7bcf51828707d24091eb1cc.tar.gz |
Bug#37428 Potential security issue with UDFs - linux shellcode execution.
plugin_dir option backported from 5.1
per-file messages:
sql/mysql_priv.h
Bug#37428 Potential security issue with UDFs - linux shellcode execution.
opt_plugin_dir and opt_plugin_dir_ptr declared.
sql/mysqld.cc
Bug#37428 Potential security issue with UDFs - linux shellcode execution.
'plugin_dir' option added
sql/set_var.cc
Bug#37428 Potential security issue with UDFs - linux shellcode execution.
'plugin_dir' option added.
sql/sql_udf.cc
Bug#37428 Potential security issue with UDFs - linux shellcode execution.
opt_plugin_dir added to the udf->dl path. Warn if it's not specified.
sql/unireg.h
Bug#37428 Potential security issue with UDFs - linux shellcode execution.
PLUGINDIR defined.
Diffstat (limited to 'sql/set_var.cc')
-rw-r--r-- | sql/set_var.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/set_var.cc b/sql/set_var.cc index eb381bfecf4..a0ddef0b386 100644 --- a/sql/set_var.cc +++ b/sql/set_var.cc @@ -1036,6 +1036,7 @@ struct show_var_st init_vars[]= { {sys_optimizer_search_depth.name,(char*) &sys_optimizer_search_depth, SHOW_SYS}, {"pid_file", (char*) pidfile_name, SHOW_CHAR}, + {"plugin_dir", (char*) opt_plugin_dir, SHOW_CHAR}, {"port", (char*) &mysqld_port, SHOW_INT}, {sys_preload_buff_size.name, (char*) &sys_preload_buff_size, SHOW_SYS}, #ifdef ENABLED_PROFILING |