Fix PSK case & buffer overrun in ESP32 WiFi provisioning (#3569)
Fix PSK case & buffer overrun in ESP32 WiFi provisioning (#3569)

There's no bounds check on the SSID & password fields in
SetWiFiStationProvisioning for ESP32. Add it.

When specifying the 64 digit PSK directly, there's no null terminator
and no space for one.
nestlabs/connectedhomeip,project-chip/connectedhomeip,nestlabs/connectedhomeip,nestlabs/connectedhomeip,nestlabs/connectedhomeip,project-chip/connectedhomeip,nestlabs/connectedhomeip,nestlabs/connectedhomeip,project-chip/connectedhomeip,project-chip/connectedhomeip,nestlabs/connectedhomeip,project-chip/connectedhomeip,project-chip/connectedhomeip