1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-21 21:22:31 +03:00

Merge branch 'master' into master

This commit is contained in:
reiyawea
2016-03-19 21:26:13 +08:00

View File

@ -93,7 +93,7 @@ bool ESP8266WebServer::authenticate(const char * username, const char * password
authReq = authReq.substring(6);
authReq.trim();
char toencodeLen = strlen(username)+strlen(password)+1;
char *toencode = new char[toencodeLen];
char *toencode = new char[toencodeLen + 1];
if(toencode == NULL){
authReq = String();
return false;