This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #114368] perl -DA -e '' segfaults
authorFather Chrysostomos <sprout@cpan.org>
Wed, 1 Aug 2012 20:04:14 +0000 (13:04 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 2 Aug 2012 03:38:17 +0000 (20:38 -0700)
commita444d2d4f3777a58d916c57753c99c6bed6a1e5d
treedf9f32f6410cb9ae1c1e869f472bc0c952693232
parentbb1eeeaaacc55c5a842f572193603f2d9971c53b
[perl #114368] perl -DA -e '' segfaults

Iterative freeing of hashes uses the SvMAGIC field for a different
purpose.  So clear it before calling hv_undef_flags, which calls
hv_assert, which expects any non-null value fo SvMAGIC to me magic.
sv.c