-
-
Notifications
You must be signed in to change notification settings - Fork 729
Closed
Description
ArduinoCore-samd/cores/arduino/WString.cpp
Line 285 in e6df241
buf[0] = c; |
When adding '\0' to a String, the length will be incremented, but the NUL character is not written to the underlying buffer. The reason is that in concat() a strcpy is used which does nothing in this case. But the length is still incremented.