Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SplHeap: Avoid memcpy on overlapping pointer
Check if data would overlap and also add an assert. Previous implementations didn't have this issue, as the direct assignment was used. Signed-off-by: Anatol Belski <ab@php.net>
- Loading branch information