This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #77492] open $fh, ">", \*glob causes SEGV
authorFather Chrysostomos <sprout@cpan.org>
Wed, 1 Sep 2010 01:00:38 +0000 (03:00 +0200)
committerFlorian Ragwitz <rafl@debian.org>
Wed, 1 Sep 2010 01:00:38 +0000 (03:00 +0200)
commit10cea94582148cd5bcccfa2723247332e1743303
tree56cfc7866bbabe854d914f7d9b8bd980d976124a
parent6999193ba9069e620831bed0f85efa43ff6e283a
[perl #77492] open $fh, ">", \*glob causes SEGV

PerlIO_layer_from_ref must not treat a real glob as a scalar. This
function was not updated when SVt_PVGV was moved before SVt_PVLV.
perlio.c
t/io/open.t