Bug 15937 - When executing a specific script using hush, a segment fault occurs
Summary: When executing a specific script using hush, a segment fault occurs
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Standard Compliance (show other bugs)
Version: 1.35.x
Hardware: PC Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-05 08:36 UTC by zhangjiangang
Modified: 2024-02-05 08:41 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
segment fault picture (22.82 KB, image/png)
2024-02-05 08:41 UTC, zhangjiangang
Details

Note You need to log in before you can comment on or make changes to this bug.
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