Skip to content

Commit

Permalink
ajout \0
Browse files Browse the repository at this point in the history
  • Loading branch information
rene-d committed Mar 1, 2020
1 parent f877ac2 commit 6c26a33
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6c26a33

Please sign in to comment.