[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
array-related segfault in bash-3
From: |
agriffis |
Subject: |
array-related segfault in bash-3 |
Date: |
Sun, 1 Aug 2004 17:06:08 -0400 |
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' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL
-DHAVE_CONFIG_H -I. -I. -I./include -I./lib -mcpu=athlon -O3 -pipe
uname output: Linux time.flatmonk.org 2.6.6-rc3 #1 Thu May 13 09:43:41 EDT 2004
i686 AMD Athlon(tm) Processor AuthenticAMD GNU/Linux
Machine Type: i686-pc-linux-gnu
Bash Version: 3.0
Patch Level: 0
Release Status: release
Description:
It is possible to segfault bash-3 by attempting to access a
local array in a function after it has been unset.
Repeat-By:
myfunc() { declare -a arr; unset arr; echo "${arr[*]}"; }
myfunc
- array-related segfault in bash-3,
agriffis <=