#443506 bash: segfault in function with endless recursion

Package:
bash
Source:
bash
Description:
GNU Bourne Again SHell
Submitter:
Date:
2024-04-05 10:51:07 UTC
Severity:
normal
Tags:
#443506#5
Date:
2007-09-21 21:20:05 UTC
From:
To:
# cat bebe.sh
set -e

forceInclude() {
    if true; then
        forceInclude xx
    fi
}

forceInclude xx

# bash ./bebe.sh
zsh: segmentation fault  bash ./bebe.sh

#443506#10
Date:
2008-04-20 10:24:27 UTC
From:
To:
tag 443506 + upstream
thanks

same as #61739