Recursive MULTICALL prematurely freed CV
authorDavid Mitchell <davem@iabyn.com>
Tue, 19 Oct 2010 22:13:07 +0000 (23:13 +0100)
committerDavid Mitchell <davem@iabyn.com>
Tue, 19 Oct 2010 22:29:25 +0000 (23:29 +0100)
commitf837477cd1460eda104bacd7f162d25d5254563d
treed22d9426662fc26e53a96c08a4166f1391d8b069
parent9c540340879062c71c21eaf596d6df60630d5bb2
Recursive MULTICALL prematurely freed CV

See [perl #78070].

Basically, POPSUB/LEAVESUB had a mechanism to decrement the reference
count of the CV only at CvDEPTH==1; POP_MULTICALL was decrementing it at
all depths.
cop.h
ext/XS-APItest/t/multicall.t