-
-
Notifications
You must be signed in to change notification settings - Fork 729
Open
Description
In WString.cpp (this also applies to avr core)
https://github.com/arduino/ArduinoCore-samd/blob/master/cores/arduino/WString.cpp#L179 and
https://github.com/arduino/ArduinoCore-samd/blob/master/cores/arduino/WString.cpp#L271
strcpy is used, where are length is passed to the copy and concat operation, whereas memcpy should be used so the char* can contain the 0 character.
Metadata
Metadata
Assignees
Labels
No labels