esp-idf/components/wifi_provisioning
Mahavir Jain 6a3d50c952 provisioning: use memcpy instead of strncpy for copying SSID
Per WiFi library requirement, SSID can be non-null terminated string
if its length goes to 32 bytes (maximum). Use of strncpy in this case,
along with compiler optimization level -O2 results in some warnings
for potential use of non-null terminated strings.

Fix here ensures use of memcpy to copy SSID string upto appropriate
desired length. This helps to avoid compiler specific workaround
flags added earlier.

Closes https://github.com/espressif/esp-idf/issues/5866
Closes IDFGH-3983
2020-09-17 12:59:22 +05:30
..
include/wifi_provisioning wifi_provisioning_softap: Allow applications to start webserver externally 2019-11-27 18:42:43 +05:30
proto cmake : Add CMakeLists.txt and update READMEs for re-compilation of proto files 2019-07-05 18:20:15 +05:30
proto-c wifi_provisioning : Added Wi-Fi Scan list feature to Provisioning Manager 2019-06-26 05:24:20 +00:00
python wifi_provisioning : Added Wi-Fi Scan list feature to Provisioning Manager 2019-06-26 05:24:20 +00:00
src provisioning: use memcpy instead of strncpy for copying SSID 2020-09-17 12:59:22 +05:30
CMakeLists.txt provisioning: use memcpy instead of strncpy for copying SSID 2020-09-17 12:59:22 +05:30
component.mk provisioning: use memcpy instead of strncpy for copying SSID 2020-09-17 12:59:22 +05:30
Kconfig wifi_prov_manager: Change the name of an internal timer handle to better reflect the purpose 2020-01-07 09:51:54 +00:00