Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix concat not 0-terminating when String shrunk
As @devyte noticed, PR esp8266#4955 has an issue when you catenate a string to itself and the string used to hold a longer value because it does not explicitly 0-terminate the resulting string. If the string was extended, however, reserve() would 0-terminate by default. Always terminate the result of `s += s;` now.
- Loading branch information