Bug 613716 - RHEL5: /usr/bin/column segmentation fault
Summary: RHEL5: /usr/bin/column segmentation fault
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: util-linux
Version: 5.5
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Karel Zak
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: 650879
TreeView+ depends on / blocked
 
Reported: 2010-07-12 16:31 UTC by Garrett Holmstrom
Modified: 2014-12-16 03:58 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 650879 (view as bug list)
Environment:
Last Closed: 2014-06-02 13:15:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch ported from http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git;a=commitdiff;h=3f7fc4d43b61e442b81937aa06e079950a8ebb7c (485 bytes, patch)
2010-11-06 16:02 UTC, Garrett Holmstrom
no flags Details | Diff

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)


Note You need to log in before you can comment on or make changes to this bug.