bug-bash
[Top][All Lists]
Advanced

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

bash 2.05b segfaults on eval'ing unbalanced expression, parentheses wise


From: gc
Subject: bash 2.05b segfaults on eval'ing unbalanced expression, parentheses wise (2.05a doesn't segfault)
Date: Tue, 11 May 2004 10:13:29 +0200 (CEST)

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  -O3 
-mcpu=i686 -funroll-loops -pipe
uname output: Linux frozen 2.4.25 #8 Fri Apr 2 17:58:52 CEST 2004 i686 Pentium 
III (Coppermine) GenuineIntel GNU/Linux
Machine Type: i686-pc-linux-gnu

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

Description:

The following will repeatably segfault bash:

[gc@frozen /tmp] bash
[gc@frozen /tmp] eval 'segfault_on_me=('
bash: unexpected EOF while looking for matching `)'
Segmentation fault

Tested on gentoo, Red Hat 9 and Mandrake 10.0 which all use bash-2.05b.
On Debian 3.0 which uses bash-2.05a, the problem doesn't happen.






reply via email to

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