On Wed, Apr 23, 2014 at 04:29:48PM -0700, bulk88 via RT wrote:
> No idea why the patch works or if its appropriate but it stopped the> crash. Without a rational of why these werent null before. Or why it> didn't crash before. This shouldn't be applied. I got no crashed on AP> 5.10 and VC 5.12 and SP Win32 strawberry-perl 5.18.0.1. It might be> because the bug isn't there in older Perls, or by chance the uninit> memory was filled with NULL so no crash.
It might be better to just skip duping savearray and argarray
unless CxHASARGS(cx) is true. In fact looking at Perl_cx_dup(), I see it
already does that check for argarray; I guess it just needs extending to
handle savearray too.
As to why it didn't previously fail, I don't know. New CX stacks have
been being poisoned for many years, so getting 0xababab.. is nothing new.
I guess someone with Windows access needs to run a debugger on 5.18.0 or
whatever and see what savearray is set to.
--
The crew of the Enterprise encounter an alien life form which is
surprisingly neither humanoid nor made from pure energy.
-- Things That Never Happen in "Star Trek" #22