bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bash ShellShock patches break "at" job submission of bash scripts


From: Marshall Giguere
Subject: Bash ShellShock patches break "at" job submission of bash scripts
Date: Wed, 29 Oct 2014 21:58:59 -0400

Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash'
-DSHELL -DHAVE_CONFIG_H   -I.  -I../bash -I../bash/include -I../bash/lib
-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4
-Wformat -Wformat-security -Werror=format-security -Wall
uname output: Linux aten 3.13.0-38-generic #65~precise1-Ubuntu SMP Thu
Oct 9 19:24:01 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu

Bash Version: 4.2
Patch Level: 25
Release Status: release

Description:
Submitting a shell script job to "at" either via pipe, or
command line fails.

Repeat-By:
$> echo myjob.sh|at now

   or

$> at -f myjob.sh now

Output:
sh: 118: BASH_FUNC_form%%=() {  while read; do
args=;
sp="";
for i in "$@";
do
if [ "$i" == "%" ]; then
sp="";
continue;
else
if [ "$i" == "$" ]; then
echo $args;
args="";
sp="";
continue;
fi;
fi;
if [ "${i:0:1}" != "@" ]; then
args="$args$sp$i";
else
if [ "${i:1}" != "" ]; then
args="$args$sp$( nth ${i:1} $REPLY)";
else
args="$args$sp$REPLY";
fi;
fi;
sp=" ";
done;
echo $args;
done
}: File name too long
sh: 118: export: BASH_FUNC_form%%: bad variable name



Fix:
None


Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]