bash crashes with infinitive recursion

Bug #146746 reported by Stepan Koltsov on 2007-09-29
Affects Status Importance Assigned to Milestone
bash (Ubuntu)

Bug Description

Binary package hint: bash

Steps to reproduce:

# cat
f() {
    if true; then
        f xx

f xx

# bash
segmentation fault bash

# bash --version
GNU bash, version 3.2.13(1)-release (i486-pc-linux-gnu)
Copyright (C) 2005 Free Software Foundation, Inc.


Expected behaviour: message "stack overflow in" printed to stderr, nonzero exit code.

Matthias Klose (doko) on 2008-02-08
Changed in bash:
importance: Undecided → Wishlist
status: New → Confirmed
Mika Fischer (zoop) on 2008-06-07
Changed in bash:
status: Confirmed → Triaged
B Bobo (yout-bobo123) wrote :

Appears to have been fixed in bash 4.2.25

Changed in bash (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers