Bug 15937

Summary: When executing a specific script using hush, a segment fault occurs
Product: Busybox Reporter: zhangjiangang <18751941738>
Component: Standard ComplianceAssignee: unassigned
Status: NEW ---    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: 1.35.x   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:
Attachments: segment fault picture

Description zhangjiangang 2024-02-05 08:36:24 UTC
The hush script is as follows,The for loop is missing the done keyword

for i in `seq 1 10`
do
        echo $i

When executing this script using busybox hush ./test.sh,segment fault occurs.
Comment 1 zhangjiangang 2024-02-05 08:41:29 UTC
Created attachment 9703 [details]
segment fault picture