Closed ballle98 closed 1 year ago
I encountered the same issue and fixed it by increasing the size of the buffer from 50 to 200 as suggested in https://github.com/sfeakes/AqualinkD/pull/136
This part of the code shouldn't even be compiled. Problem was fixed in later releases.
Problem is here, the size of buff is 50 and URI of more than 13 characters will overflow. Need to increase buffer and use snprintf() instead of sprintf().
sprintf(buf, "action_web_request() request '%.*s' took",http_msg->uri.len, http_msg->uri.p);
console output reporting error: