bug-bash
[Top][All Lists]
Advanced

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

Bash crashes - Segmentation Fault when using <<<


From: Christos KK Loverdos
Subject: Bash crashes - Segmentation Fault when using <<<
Date: Sun, 11 May 2003 14:32:53 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312

Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -D_GNU_SOURCE -O2 -march=i386 -mcpu=i686 uname output: Linux localhost.localdomain 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386 GNU/Linux
Machine Type: i686-pc-linux-gnu

Bash Version: 2.05b
Patch Level: 0
Release Status: release

Description:
Whenever Iuse a "Here string" with '<<<word' and 'word' specifies an unset variable, bash crashes. For example, when I 'cat <<<$FOO' for a variable FOO that _has not been set_ Iget a Segmentation fault.

Repeat-By:
        prompt> unset FOO    [enter]
        prompt> cat <<<$FOO [enter]
        Segmentation fault
--
////
/// Christos KK Loverdos "Ironman"
// loverdos@di.uoa.gr





reply via email to

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