Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix overlapping memcpy call in String::trim (#4938)
memcpy() is undefined when source and destination overlap. String::trim uses it when shifting the string left to remove left padding. Replace with memmove() which is always safe, even when overlapped.
- Loading branch information