summaryrefslogtreecommitdiff
path: root/Zend/zend_API.c
diff options
context:
space:
mode:
authorTyson Andre <tysonandre775@hotmail.com>2019-11-19 19:12:56 -0500
committerTyson Andre <tysonandre775@hotmail.com>2019-11-23 10:45:20 -0500
commitb037fe5bd1d8289dde5f922908c06437d7027d8e (patch)
tree695b91a02865462fe7f756f6dce94c1c82c4b8cb /Zend/zend_API.c
parentcfb643ca2b1e03d0211b5bf089560c1dd3a41359 (diff)
downloadphp-git-b037fe5bd1d8289dde5f922908c06437d7027d8e.tar.gz
Handle reallocated root buffer during GC destroy phase (v2)
We no longer protect GC during the destroy phase, so we need to deal with buffer reallocation. Note that the implementation of spl_SplObjectStorage_free_storage will call the destructor of SplObjectStorage, and free the instance properties, which I think is what caused the root buffer to be reallocated. (`current` is a pointer for an index within the root buffer?) This fixes bug #78811 for me. Closes GH-4935
Diffstat (limited to 'Zend/zend_API.c')
0 files changed, 0 insertions, 0 deletions