mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-10465 general_log_file can be abused
followup
This commit is contained in:
@ -18,6 +18,8 @@ SET @@global.general_log_file = '/tmp/my.cnf';
|
||||
ERROR 42000: Variable 'general_log_file' can't be set to the value of '/tmp/my.cnf'
|
||||
SET @@global.general_log_file = '.my.cnf';
|
||||
ERROR 42000: Variable 'general_log_file' can't be set to the value of '.my.cnf'
|
||||
SET @@global.general_log_file = 'my.cnf\0foo';
|
||||
ERROR 42000: Variable 'general_log_file' can't be set to the value of 'my.cnf'
|
||||
'#----------------------FN_DYNVARS_004_03------------------------#'
|
||||
SELECT @@global.general_log_file = VARIABLE_VALUE
|
||||
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
|
||||
|
Reference in New Issue
Block a user