This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
make MULTICALL safe across cxstack reallocs
authorDavid Mitchell <davem@iabyn.com>
Sun, 11 Nov 2012 00:01:21 +0000 (00:01 +0000)
committerDavid Mitchell <davem@iabyn.com>
Sun, 11 Nov 2012 00:01:21 +0000 (00:01 +0000)
commit3d26b81e83dca7175e314b31d265a01e1e9b0320
tree0353cf491729d1cb26db261c0ae9fd931dff5857
parent285c5e4279bd1c29a0fad0f195fb22a65ac33ab2
make MULTICALL safe across cxstack reallocs

[perl #115602]
MUTLICALL sets a local var, cx, to point to the current context stack
frame. When a function is called, the context stack might be realloc()ed,
in which case cx would point to freed memory.
cop.h
ext/XS-APItest/t/multicall.t