Bug 430602

Summary: ksh segfaults
Product: [Fedora] Fedora Reporter: ritz <rkhadgar>
Component: kshAssignee: Tomas Smetana <tsmetana>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 20080202-1.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-18 10:17:04 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 ritz 2008-01-28 23:16:42 UTC
Description of problem:
ksh segfaults

How reproducible:
always

Steps to Reproduce:
$ uname -i
x86_64 

$ cat o
unset VAR
echo ${VAR}

$ ksh o

Actual results:
ksh segfaults

Expected results:
ksh should not segafult

Comment 1 Tomas Smetana 2008-01-29 06:53:59 UTC
I failed to reproduce the bug with ksh-20071105-2.fc8.

Comment 3 Tomas Smetana 2008-01-29 09:24:23 UTC
I can reproduce this bug only with OPTIND variable.

Comment 4 ritz 2008-01-29 09:35:34 UTC
noticed this now. And for this is applicable for i386 also.

Comment 5 ritz 2008-01-29 09:37:03 UTC
OPTIND seems to be a reserved variable within ksh.

Comment 6 Tomas Smetana 2008-01-29 14:09:54 UTC
OK.  I think I have a fix.  I've sent it upstream for a review to verify it's
correct.

Comment 7 Fedora Update System 2008-01-30 08:16:42 UTC
ksh-20071105-3.fc8 has been submitted as an update for Fedora 8

Comment 8 Fedora Update System 2008-02-02 01:18:21 UTC
ksh-20071105-3.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update ksh'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-1202

Comment 9 Tomas Smetana 2008-02-18 10:17:04 UTC
ksh-20071105-3.fc8 has been obsoleted by ksh-20080202-1.fc8 that was pushed to
stable repository.  Closing.