esp-idf/components/wifi_provisioning/src
Mahavir Jain 04b8564249 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 15:54:23 +05:30
..
handlers.c provisioning: use memcpy instead of strncpy for copying SSID 2020-09-17 15:54:23 +05:30
manager.c wifi_provisioning: Catch the Wi-Fi events even after Connection errors 2020-05-05 22:09:18 +05:30
scheme_ble.c Wifi_provisioning_ble: Change service_uuid to non standard 128 bit UUID 2020-03-26 05:04:52 +00:00
scheme_console.c wifi_provisioning : Wi-Fi Provisioning Manager added 2019-06-10 15:13:50 +05:30
scheme_softap.c provisioning: use memcpy instead of strncpy for copying SSID 2020-09-17 15:54:23 +05:30
wifi_config.c Wi-Fi Provisioning : Bugfix in copying SSID and Passphrase 2019-06-12 05:42:46 +00:00
wifi_provisioning_priv.h esp_wifi: wifi support new event mechanism 2019-08-20 09:39:51 +00:00
wifi_scan.c wifi_provisioning : Added Wi-Fi Scan list feature to Provisioning Manager 2019-06-26 05:24:20 +00:00