Package: bash
Version: 4.2+dfsg-0.1
Severity: minor
Output from hash -l is not properly quoted, and might lead to surprises
when a file name contains whitespace characters:
$ add2path=`mktemp -d /tmp/XXXXXX`
$ export PATH=$PATH:$add2path
$ cp -p /bin/true "$add2path/t rue"
$ "t rue"
$ hash -l | tee $add2path/script
builtin hash -p /tmp/PukY3C/t rue t rue
builtin hash -p /bin/cp cp
$ . $add2path/script
$ hash -l
builtin hash -p /tmp/C3TzlZ/t rue
builtin hash -p /tmp/C3TzlZ/t rue t rue
builtin hash -p /bin/cp cp
builtin hash -p /tmp/C3TzlZ/t t
Best regards,
g
-- System Information:
Debian Release: 7.4
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages bash depends on:
ii base-files 7.1wheezy4
ii dash 0.5.7-3
ii debianutils 4.3.2
ii libc6 2.13-38+deb7u1
ii libtinfo5 5.9-10
Versions of packages bash recommends:
pn bash-completion <none>
Versions of packages bash suggests:
pn bash-doc <none>
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]