Hash assignment can zap weak references to the hash
authorFather Chrysostomos (via RT) <perlbug-followup@perl.org>
Sun, 25 Jul 2010 19:46:06 +0000 (12:46 -0700)
committerDavid Mitchell <davem@iabyn.com>
Thu, 29 Jul 2010 12:21:10 +0000 (13:21 +0100)
commit1c480c903473b013658c29213ac3d1772ab6b63a
treeecd829afced2ce1b8a9d3c2760f328adb49c8edc
parent1850c8f94216e3e6bf08ca1f3121b4a91d01d1bf
Hash assignment can zap weak references to the hash

[perl #76716]

commits 044d8c24f and 64345bb broke backrefs to hashes that are merely
cleared or undeffed, but not freed. Spotted by Father Chrysostomos.
Test for it here (fixes coming next)
t/op/hashassign.t