diff options
author | Terje Rosten <terje.rosten@oracle.com> | 2016-08-12 12:38:20 +0200 |
---|---|---|
committer | Nawaz Nazeer Ahamed <nawaz.nazeer.ahamed@oracle.com> | 2016-08-25 13:32:25 +0530 |
commit | 684a165f28b3718160a3e4c5ebd18a465d85e97c (patch) | |
tree | 922e4a88988eec7bce392f7c3bcf54addcaaf876 /support-files/mysql.server.sh | |
parent | 22eec68941f3acbd9033e7fb33d10c63e6b388da (diff) | |
download | mariadb-git-684a165f28b3718160a3e4c5ebd18a465d85e97c.tar.gz |
Bug#24464380 PRIVILEGE ESCALATION USING MYSQLD_SAFE
Argument to malloc-lib must be included in restricted list of
directories, symlink guards added, and mysqld and mysqld-version
options restricted to command line only. Don't redirect errors to
stderr.
Diffstat (limited to 'support-files/mysql.server.sh')
-rw-r--r-- | support-files/mysql.server.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support-files/mysql.server.sh b/support-files/mysql.server.sh index 7487d5acc0f..909d33f8770 100644 --- a/support-files/mysql.server.sh +++ b/support-files/mysql.server.sh @@ -280,7 +280,7 @@ case "$mode" in then # Give extra arguments to mysqld with the my.cnf file. This script # may be overwritten at next upgrade. - $bindir/mysqld_safe --datadir="$datadir" --pid-file="$mysqld_pid_file_path" $other_args >/dev/null 2>&1 & + $bindir/mysqld_safe --datadir="$datadir" --pid-file="$mysqld_pid_file_path" $other_args >/dev/null & wait_for_pid created "$!" "$mysqld_pid_file_path"; return_value=$? # Make lock for RedHat / SuSE |