This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #128597] Crash from gp_free/ckWARN_d
authorFather Chrysostomos <sprout@cpan.org>
Mon, 11 Jul 2016 21:49:17 +0000 (14:49 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 12 Jul 2016 00:15:20 +0000 (17:15 -0700)
commita2637ca0a3fec01b80d7ea5ba62802354fd5e6f3
tree8fb368925bbe72db23bf38086f98653c9cd1a4ac
parentd8cc0e431ef1b9fbf32d8df0b3ddfffef0fb3009
[perl #128597] Crash from gp_free/ckWARN_d

See the explanation in the test added and in the RT ticket.

The solution is to make the warn macros check that PL_curcop
is non-null.
regen/warnings.pl
t/op/gv.t
warnings.h