Hotfix: Fix those buffer sizes
This commit is contained in:
parent
3f8ef38ec5
commit
61044fe751
Binary file not shown.
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
#ifndef _USER_CONFIG_
|
||||
#define _USER_CONFIG_
|
||||
|
||||
#define ESPERPASS_VERSION "V0.0.3"
|
||||
#define ESPERPASS_VERSION "V0.0.4"
|
||||
|
||||
#define WIFI_SSID "ssid"
|
||||
#define WIFI_PASSWORD "password"
|
||||
|
||||
@ -816,7 +816,7 @@ console_handle_command(struct espconn *pespconn)
|
||||
// to get the full ssid name.
|
||||
if (nTokens > 3)
|
||||
{
|
||||
char ssid[50] = {};
|
||||
char ssid[32] = {};
|
||||
int i;
|
||||
|
||||
// The ssid starts at the 3rd token, position 2 in the tokens
|
||||
@ -855,7 +855,7 @@ console_handle_command(struct espconn *pespconn)
|
||||
// to get the full password.
|
||||
if (nTokens > 3)
|
||||
{
|
||||
char password[50] = {};
|
||||
char password[64] = {};
|
||||
int i;
|
||||
|
||||
// The password starts at the 3rd token, position 2 in the tokens
|
||||
|
||||
Reference in New Issue
Block a user