Bug 38769 - segfault when closing stdin
Summary: segfault when closing stdin
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: bash (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 minor
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-29 11:42 MSK by Ivan Zakharyaschev
Modified: 2020-07-29 11:42 MSK (History)
3 users (show)

See Also:


Attachments

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