1
0
mirror of https://github.com/MariaDB/server.git synced 2025-10-21 08:47:42 +03:00
Files
mariadb/sql
unknown 7839da601c BUG#28341 - Security issue still in library loading
UDF can be created from any library in any part of the server
LD_LIBRARY_PATH.

Allow to load udfs only from plugin_dir.
On windows, refuse to open udf in case it's path contains a slash.

No good test case for this bug because of imperfect error message
that includes error code and error string when it fails to dlopen a
library.


mysql-test/mysql-test-run.pl:
  Since plugins are allowed to be open only from plugin_dir:
  - there is no sence to update LD_LIBRARY_PATH
  - there is no sence to add plugin_dir arg by default
  - set UDF_EXAMPLE_LIB_OPT and EXAMPLE_PLUGIN_OPT to be used by
    udf and plugin tests accordingly.
mysql-test/r/plugin.result:
  Updated test result (we report addition warning).
sql/sql_udf.cc:
  Allow to load udfs only from plugin_dir.
  On windows, refuse to open udf in case it's path contains a slash.
mysql-test/t/plugin-master.opt:
  New BitKeeper file ``mysql-test/t/plugin-master.opt''
mysql-test/t/udf-master.opt:
  New BitKeeper file ``mysql-test/t/udf-master.opt''
2007-05-18 16:23:46 +05:00
..
2007-04-19 18:58:32 +02:00
2007-03-15 23:39:07 -07:00
2007-05-01 18:25:29 -07:00
2007-04-10 18:01:29 +03:00
2007-05-07 13:29:59 +05:00
2007-05-07 13:29:59 +05:00
2007-03-20 17:07:53 +01:00
2007-04-16 18:16:17 +02:00
2007-04-29 18:46:06 +05:00
2007-04-30 19:41:27 +05:00
2007-04-24 12:41:08 -04:00
2007-04-13 14:55:28 +02:00
2007-04-27 14:13:34 -07:00
2007-04-24 17:42:16 +02:00
2007-04-16 18:16:17 +02:00
2007-04-16 18:16:17 +02:00
2007-04-13 19:23:02 +02:00
2007-04-05 13:25:39 +05:00
2007-04-16 18:16:17 +02:00
2007-04-13 14:55:28 +02:00
2007-04-13 14:55:28 +02:00
2007-02-23 13:13:55 +02:00
2007-02-23 13:13:55 +02:00
2007-04-16 18:16:17 +02:00
2007-04-07 14:59:53 +05:00
2007-05-04 16:44:07 -07:00
2007-03-17 00:13:25 +01:00
2007-04-29 09:00:08 -07:00
2007-05-04 16:44:07 -07:00
2007-04-02 11:38:58 -07:00
2007-03-02 08:43:45 -08:00
2007-03-02 08:43:45 -08:00
2007-03-29 16:47:38 +02:00
2007-04-29 18:46:06 +05:00
2007-02-23 13:13:55 +02:00