Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix is_zend_ptr() huge block comparison
We should compare the block memory, not the block metadata (See zend_mm_add_huge_block). This caused random test failure for ext/ffi/tests/gh14626.phpt when the malloc() performed by the FFI code lies close to the block metadata, and the size of the block is large enough. This was reported by php#16902 (comment)
- Loading branch information