Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 613716

Summary: RHEL5: /usr/bin/column segmentation fault
Product: Red Hat Enterprise Linux 5 Reporter: Garrett Holmstrom <gholms>
Component: util-linuxAssignee: Karel Zak <kzak>
Status: CLOSED WONTFIX QA Contact: qe-baseos-daemons
Severity: low Docs Contact:
Priority: low    
Version: 5.5CC: gholms
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 650879 (view as bug list) Environment:
Last Closed: 2014-06-02 13:15:52 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:
Bug Depends On:    
Bug Blocks: 650879    
Attachments:
Description Flags
Patch ported from http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git;a=commitdiff;h=3f7fc4d43b61e442b81937aa06e079950a8ebb7c none

Description Garrett Holmstrom 2010-07-12 16:31:16 UTC
Description of problem:
/usr/bin/column throws a segfault when run with '-t' and '-s%c' (where %c is any character AFAICT) with that character passed in on standard input.


Version-Release number of selected component (if applicable):
util-linux-2.13-0.52.el5_4.1


How reproducible:
echo % | column -t -s%

  
Actual results:
Program terminated with signal 11, Segmentation fault.
#0  __wcslen (s=0x0) at wcslen.c:30
30        while (s[len] != L'\0')
(gdb) bt
#0  __wcslen (s=0x0) at wcslen.c:30
#1  0x00000039ad46476e in fputws (str=0x0, fp=0x39ad751780) at iofputws.c:37
#2  0x000000000040181c in maketbl (argc=<value optimized out>, argv=<value optimized out>) at column.c:274
#3  main (argc=<value optimized out>, argv=<value optimized out>) at column.c:140


Expected results:
Blank


Additional info:
This is the same problem as the one util-linux-ng experiences in bug #579955, but I am filing this again since el5 has a different packge name.  I suspect that it also occurs in el6, given that F12 and F13 have the problem.

Comment 1 Garrett Holmstrom 2010-11-06 16:02:34 UTC
Created attachment 458333 [details]
Patch ported from http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git;a=commitdiff;h=3f7fc4d43b61e442b81937aa06e079950a8ebb7c

Here's a patch that seems to work for me based on the fix for #579955.

Comment 2 RHEL Program Management 2011-01-11 20:26:29 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.

Comment 3 RHEL Program Management 2011-01-12 15:16:22 UTC
This request was erroneously denied for the current release of
Red Hat Enterprise Linux.  The error has been fixed and this
request has been re-proposed for the current release.

Comment 4 RHEL Program Management 2011-05-31 13:21:59 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.

Comment 5 RHEL Program Management 2014-03-07 13:41:31 UTC
This bug/component is not included in scope for RHEL-5.11.0 which is the last RHEL5 minor release. This Bugzilla will soon be CLOSED as WONTFIX (at the end of RHEL5.11 development phase (Apr 22, 2014)). Please contact your account manager or support representative in case you need to escalate this bug.

Comment 6 RHEL Program Management 2014-06-02 13:15:52 UTC
Thank you for submitting this request for inclusion in Red Hat Enterprise Linux 5. We've carefully evaluated the request, but are unable to include it in RHEL5 stream. If the issue is critical for your business, please provide additional business justification through the appropriate support channels (https://access.redhat.com/site/support).

Comment 7 Garrett Holmstrom 2014-12-16 03:58:13 UTC
(Clearing the needinfo flag so bugzilla stops spamming me)