mirror of https://github.com/sfeakes/AqualinkD.git
Update net_services.c
buf was overflowing in sprintf on line 1163 when passed /api/dynamicconfig (the whole string was 54 characters).pull/192/head
parent
c4d9472870
commit
a84a528044
|
@ -1076,7 +1076,7 @@ void action_web_request(struct mg_connection *nc, struct http_message *http_msg)
|
|||
}
|
||||
//} else if (strstr(http_msg->method.p, "PUT")) {
|
||||
} else {
|
||||
char buf[50];
|
||||
char buf[100];
|
||||
float value = 0;
|
||||
DEBUG_TIMER_START(&tid);
|
||||
|
||||
|
|
Loading…
Reference in New Issue