mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
Bug#24464380 PRIVILEGE ESCALATION USING MYSQLD_SAFE
Post push fix: Solaris 10 /bin/sh don't understand $().
This commit is contained in:
parent
97fad8518b
commit
7603ac53c8
1 changed files with 2 additions and 2 deletions
|
@ -321,7 +321,7 @@ set_malloc_lib() {
|
|||
|
||||
if [ "$malloc_lib" = tcmalloc ]; then
|
||||
malloc_lib=
|
||||
for libdir in $(echo $malloc_dirs); do
|
||||
for libdir in `echo $malloc_dirs`; do
|
||||
for flavor in _minimal '' _and_profiler _debug; do
|
||||
tmp="$libdir/libtcmalloc$flavor.so"
|
||||
#log_notice "DEBUG: Checking for malloc lib '$tmp'"
|
||||
|
@ -348,7 +348,7 @@ set_malloc_lib() {
|
|||
fi
|
||||
|
||||
# Restrict to a the list in $malloc_dirs above
|
||||
case "$(dirname "$malloc_lib")" in
|
||||
case "`dirname "$malloc_lib"`" in
|
||||
/usr/lib) ;;
|
||||
/usr/lib64) ;;
|
||||
/usr/lib/i386-linux-gnu) ;;
|
||||
|
|
Loading…
Reference in a new issue