From 6c26a337aec0a4e103684cb6f8a521611872e025 Mon Sep 17 00:00:00 2001 From: rene-d Date: Sun, 1 Mar 2020 22:35:25 +0100 Subject: [PATCH] ajout \0 --- src/config.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/config.cpp b/src/config.cpp index 37d3991..f5b667a 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -67,6 +67,9 @@ static void config_securize_cstrings() config.ap_psk[CFG_PSK_LENGTH] = 0; config.ota_auth[CFG_PSK_LENGTH] = 0; + config.username[CFG_USERNAME_LENGTH] = 0; + config.password[CFG_PASSWORD_LENGTH] = 0; + config.emoncms.host[CFG_EMON_HOST_LENGTH] = 0; config.emoncms.apikey[CFG_EMON_KEY_LENGTH] = 0; config.emoncms.url[CFG_EMON_URL_LENGTH] = 0;