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.
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.
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.
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.
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.
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).
(Clearing the needinfo flag so bugzilla stops spamming me)