Bug#24464380 PRIVILEGE ESCALATION USING MYSQLD_SAFE

Post push fix: Solaris 10 /bin/sh don't understand $().
This commit is contained in:
Terje Rosten 2016-08-26 11:25:40 +02:00
parent 97fad8518b
commit 7603ac53c8

View file

@ -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) ;;