bug-bash
[Top][All Lists]
Advanced

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

Re: infinitive recursion causes segfault


From: Roman Rakus
Subject: Re: infinitive recursion causes segfault
Date: Tue, 17 Feb 2009 18:02:23 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Chet Ramey wrote:
address@hidden wrote:

Bash Version: 3.1
Patch Level: 17
Release Status: release

Description:
        Create a function that calls itself. Call it. You'll get segfault. 
Expecting message on terminal.

That's not a good expectation.

If you want to shoot yourself in the foot, bash will not stop you.
What about adding `maximum nested function level'? Counter already is there (and don't used). And make it configurable like in zsh. I can provide patch.
RR




reply via email to

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