Bug 1121204

Summary: ksh hangs with big data in pipe in command substitution
Product: [Fedora] Fedora Reporter: Michal Hlavinka <mhlavink>
Component: kshAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gkaukola, kdudka, mhlavink
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ksh-20120801-22.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-27 11:44:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michal Hlavinka 2014-07-18 15:54:31 UTC
Description of problem:
  dd if=/dev/zero of=testfile.txt bs=1 count=65537
  x=`cat testfile.txt | cat -`

hang

Comment 1 Glen Kaukola 2014-07-18 16:29:55 UTC
Does not hang for me on Fedora 20.  ksh-20120801-17.fc20.x86_64.

Comment 2 Michal Hlavinka 2014-07-21 06:41:25 UTC
This is just for a future reference so I don't forget to test this bug. In fact, there is different bug that was fixed upstream, but it has this regression. So when the fix for that other bug is backported, we will have to fix this too.