bug-bash
[Top][All Lists]
Advanced

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

alias-if-defun stack overflow


From: Kinnith Mark Wallace
Subject: alias-if-defun stack overflow
Date: Tue, 14 May 2002 15:30:47 -0500 (CDT)

Configuration Information [Automatically generated, do not change]:
Machine: alphaev5
OS: osf5.1
Compiler: cc -I/usr/local/include
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='alphaev5' 
-DCONF_OSTYPE='osf5.1' -DCONF_MACHTYPE='alphaev5-dec-osf5.1' 
-DCONF_VENDOR='dec' -DSHELL -DHAVE_CONFIG_H  -D_GNU_SOURCE  -I.  -I. 
-I./include -I./lib -I/usr/local/include -O -ieee -std1 -arch generic -tune ev67
uname output: OSF1 fly.hiwaay.net V5.1 1885 alpha
Machine Type: alphaev5-dec-osf5.1

Bash Version: 2.05
Patch Level: 8
Release Status: release

Description:
  A stack overflow occurs when the following lines are input
  from command line or with 'source':
      alias mycmd='aword'
      if true; then
        mycmd() {
          aword
        }
      fi
      aword
  I've seen this with similar input (some tests including 'unalias'
  and 'unset'); this is the simplest I've been able to reduce it to.

Repeat-By:
  Input given lines from command line or with 'source'.



reply via email to

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