Bug 38769

Summary: segfault when closing stdin
Product: Sisyphus Reporter: Ivan Zakharyaschev <imz>
Component: bashAssignee: placeholder <placeholder>
Status: NEW --- QA Contact: qa-sisyphus
Severity: minor    
Priority: P5 CC: glebfm, ldv, placeholder
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Ivan Zakharyaschev 2020-07-29 11:42:42 MSK
A strange thing to do, but nevertheless a segfault is not a good thing:

$ { echo 'echo a'; echo 'exec 0>&-'; echo 'echo b'; } | bash
a
Segmentation fault
$ rpm -q bash
bash-4.4.23-alt1.noarch