[Top][All Lists]

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

SEGV on unbounded recursion

From: tjanouse
Subject: SEGV on unbounded recursion
Date: Thu, 6 Mar 2008 16:04:41 +0100
User-agent: Mutt/1.5.16 (2007-06-09)

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-redhat-linux-gnu' 
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib  -D_GNU_SOURCE 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
uname output: Linux tjanouse.englab.brq.redhat.com 2.6.18-53.el5 #1 SMP Wed Oct 
10 16:34:02 EDT 2007 i686 i686 i386 GNU/Linux
Machine Type: i686-redhat-linux-gnu

Bash Version: 3.2
Patch Level: 33
Release Status: release

        Unbounded recursion results in a SEGV instead of some error message
        telling you what happened. And the test case I'm attaching could also
        just run forever if something like tail recursion was handled.

        function umount {
            umount secret

        ksh has a fixed recursion depth limit (4096 on 32 bit machines, not
        that many). I'm not sure we want this.

I'm not sure this is worth fixing, I'd just like to see your opinion. Thanks.

reply via email to

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