esp-idf/components
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
..
2020-09-02 16:38:37 +08:00
2020-06-23 08:20:16 +00:00
2020-09-02 16:38:37 +08:00
2020-09-02 16:38:37 +08:00
2020-09-02 16:38:37 +08:00
2020-07-29 15:57:49 +08:00
2020-09-02 16:38:37 +08:00
2020-09-02 16:38:37 +08:00
2020-09-02 16:38:37 +08:00
2020-09-02 16:38:37 +08:00
2020-09-02 16:38:37 +08:00
2020-09-02 16:38:37 +08:00
2020-09-02 16:38:37 +08:00
2020-09-02 16:38:37 +08:00
2020-09-11 15:48:08 +08:00
2020-09-02 16:38:37 +08:00
2019-11-29 18:05:24 +08:00
2020-09-02 16:38:37 +08:00
2020-09-02 16:38:37 +08:00
2020-09-02 16:38:37 +08:00
2020-09-02 16:38:37 +08:00
2020-09-02 16:38:37 +08:00
2020-09-02 16:38:37 +08:00
2020-09-02 16:38:37 +08:00
2020-09-02 16:38:37 +08:00
2020-08-27 13:49:33 +02:00
2020-09-04 17:37:47 +08:00
2020-09-02 16:38:37 +08:00