Bug 989486 - perl-5.18: Dereferencing undefined glob value as a code reference causes segfault
Summary: perl-5.18: Dereferencing undefined glob value as a code reference causes segf...
Alias: None
Product: Fedora
Classification: Fedora
Component: perl
Version: 20
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Jitka Plesnikova
QA Contact: Fedora Extras Quality Assurance
URL: https://rt.perl.org/rt3/Public/Bug/Di...
Depends On:
TreeView+ depends on / blocked
Reported: 2013-07-29 11:09 UTC by Petr Pisar
Modified: 2013-09-22 23:57 UTC (History)
10 users (show)

Fixed In Version: perl-5.18.1-288.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-09-22 23:57:45 UTC
Type: Bug

Attachments (Terms of Use)

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@cpan.org>
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.

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:
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:

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.

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