bash crashes with infinitive recursion
Bug #146746 reported by
Stepan Koltsov
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: bash
Steps to reproduce:
===
# cat crash.sh
f() {
if true; then
f xx
fi
}
f xx
# bash crash.sh
segmentation fault bash crash.sh
# 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 crash.sh" printed to stderr, nonzero exit code.
Changed in bash: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Changed in bash: | |
status: | Confirmed → Triaged |
To post a comment you must log in.
Appears to have been fixed in bash 4.2.25