Details
-
Enhancement
-
Status: Implemented
-
Medium
-
Resolution: Implemented
-
TI Device Drivers
-
TIDRIVERS-4049
-
TIDRIVERS_4_40_00
-
TIDRIVERS_5_10_00
-
All
Description
The SPIFFS library has some questionable use of strncpy(). strncpy() does not guarantee NULL termination if the source string size is > than the destination string size.
GCC 9.x generates a warning if it detects this possible mistake.
The SPIFFS code was updated to avoid this warning.