]> git.vpit.fr Git - perl/modules/autovivification.git/commitdiff
Fix rare segfaults and bugs with threads
authorVincent Pit <vince@profvince.com>
Fri, 31 Dec 2010 14:05:15 +0000 (15:05 +0100)
committerVincent Pit <vince@profvince.com>
Fri, 31 Dec 2010 14:09:19 +0000 (15:09 +0100)
There was a race in the "PL_ppaddr[OP_PADSV] save/restore dance" in that
perl might be compiling ops inside and outside the scope of the pragma at
the same time. We solve this by setting the op_ppaddr member of PADSV ops
to a_pp_deref during the peephole optimization phase.


No differences found