[Bug 989486] New: perl-5.18: Dereferencing undefined glob value as a code reference causes segfault

bugzilla at redhat.com bugzilla at redhat.com
Mon Jul 29 11:09:16 UTC 2013


https://bugzilla.redhat.com/show_bug.cgi?id=989486

            Bug ID: 989486
           Summary: perl-5.18: Dereferencing undefined glob value as a
                    code reference causes segfault
           Product: Fedora
           Version: rawhide
         Component: perl
          Assignee: mmaslano at redhat.com
          Reporter: ppisar at redhat.com
        QA Contact: extras-qa at fedoraproject.org
                CC: cweyl at alumni.drew.edu, iarnell at gmail.com,
                    jplesnik at redhat.com, kasal at ucw.cz,
                    mmaslano at redhat.com,
                    perl-devel at lists.fedoraproject.org, ppisar at redhat.com,
                    psabata at redhat.com, rc040203 at freenet.de,
                    tcallawa at redhat.com

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 at cpan.org>
Date:   Sun Jul 28 12:35:47 2013 -0700

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=Glw8T7Sme6&a=cc_unsubscribe



More information about the perl-devel mailing list