Bug 657536

Summary: tcsh-6.14-17.el5_5.2 core dumps with backtick subsistution
Product: Red Hat Enterprise Linux 6 Reporter: Vojtech Vitek <vvitek>
Component: tcshAssignee: Vojtech Vitek <vvitek>
Status: CLOSED WORKSFORME QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: high Docs Contact:
Priority: low    
Version: 6.1CC: hripps, pasteur, robertminsk
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 650363 Environment:
Last Closed: 2011-04-19 12:02:40 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: 650363    
Bug Blocks:    

Description Vojtech Vitek 2010-11-26 11:38:42 UTC
+++ This bug was initially created as a clone of Bug #650363 +++

Description of problem:
I have an alias
delenv eval `delenv.pl !*`

When I call
delenv PYTHONPATH /shows/cis/sw/lib/python/common /shows/cis/sw/lib/python/`/bin/uname -i`
tcsh will core dump

When when I call
delenv PYTHONPATH /shows/cis/sw/lib/python/common /shows/cis/sw/lib/pytho/x86_64
tcsh does not core dump.

I seems to be tied to the backtick evaluation on an alias that also has backtick evaluation.

Version-Release number of selected component (if applicable):
6.14-17.el5_5.2

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

--- Additional comment from robertminsk on 2010-11-05 19:56:33 EDT ---

The actual alias is
alias delenv 'eval `delenv.pl \!*`'

Comment 2 RHEL Program Management 2011-01-07 15:37: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. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 3 Vojtech Vitek 2011-04-19 12:02:40 UTC
This bug was present in tcsh 6.14 (RHEL-5.6) but was fixed in tcsh 6.17 (RHEL-6.0) by reimplementation of string functions in sh.glob.c.

Closing as WORKSFORME.