Bug 51887

Summary: colrm barfs on non-ASCII chars
Product: [Retired] Red Hat Linux Reporter: John Smith <jds10>
Component: util-linuxAssignee: Elliot Lee <sopwith>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-08-16 15:45:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description John Smith 2001-08-16 15:45:50 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.3-12 i686)

Description of problem:
When colrm hits an input line containing a character higher
than decimal 127, it freezes.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.$ cat >junk1
  rubbish
  stuff
  buzz
  more rubbish
  ^D
2.$ tr "z" '\340' <junk1 >junk2
3.$ colrm 3 <junk2
	

Actual Results:  Output is
ru
st
and a frozen colrm

Expected Results:  
ru
st
bu
mo

Additional info:

Comment 1 Elliot Lee 2001-12-28 21:01:13 UTC
I patched this in util-linux-2.11n-2