Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WString: change strcpy() to memcpy()
It is worth to use memcpy() to avoid extra checks. Furthermore, it fixes possible issues when copied WString has zero byte stored intentionally. copy() methods are protected and always used to copy zero-terminated strings, so it is safe to copy termination zero byte from source buffer.
- Loading branch information