Bug 989486

Summary: perl-5.18: Dereferencing undefined glob value as a code reference causes segfault
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perlAssignee: Jitka Plesnikova <jplesnik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: cweyl, iarnell, jplesnik, kasal, mmaslano, perl-devel, ppisar, psabata, rc040203, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://rt.perl.org/rt3/Public/Bug/Display.html?id=119051
Whiteboard:
Fixed In Version: perl-5.18.1-288.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-22 23:57:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Pisar 2013-07-29 11:09:16 UTC
This code segfaults perl-5.18:

$Foo::nosub  = undef;
my $ref =  *Foo::->{nosub};
my $deref = \&$ref;

Reported upstream as <https://rt.perl.org/rt3/Public/Bug/Display.html?id=119051>, fixed with upstream commit:

commit 2f222bbdd2d6da605708c3ab620ac25c62481179
Author: Father Chrysostomos <sprout>
Date:   Sun Jul 28 12:35:47 2013 -0700

    [perl #119051] Fix crash with \&$glob_copy

Comment 1 Fedora Admin XMLRPC Client 2013-08-12 11:43:57 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Fedora Update System 2013-09-11 13:59:59 UTC
perl-5.18.1-288.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/perl-5.18.1-288.fc20

Comment 3 Fedora Update System 2013-09-11 16:55:59 UTC
Package perl-5.18.1-288.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing perl-5.18.1-288.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-16400/perl-5.18.1-288.fc20
then log in and leave karma (feedback).

Comment 4 Fedora End Of Life 2013-09-16 17:09:14 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20

Comment 5 Fedora Update System 2013-09-22 23:57:45 UTC
perl-5.18.1-288.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.