-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buffer overflow in action_web_request #135
Comments
ballle98
added a commit
to ballle98/AqualinkD
that referenced
this issue
Nov 18, 2020
ballle98
added a commit
to ballle98/AqualinkD
that referenced
this issue
Nov 18, 2020
I encountered the same issue and fixed it by increasing the size of the buffer from 50 to 200 as suggested in #136 |
ballle98
added a commit
to ballle98/AqualinkD
that referenced
this issue
May 27, 2023
ballle98
added a commit
to ballle98/AqualinkD
that referenced
this issue
Jun 15, 2023
ballle98
added a commit
to ballle98/AqualinkD
that referenced
this issue
Jun 15, 2023
This part of the code shouldn't even be compiled. Problem was fixed in later releases. |
ballle98
added a commit
to ballle98/AqualinkD
that referenced
this issue
Jun 23, 2023
ballle98
added a commit
to ballle98/AqualinkD
that referenced
this issue
Jun 29, 2023
ballle98
added a commit
to ballle98/AqualinkD
that referenced
this issue
Jul 11, 2023
ballle98
added a commit
to ballle98/AqualinkD
that referenced
this issue
Aug 7, 2023
ballle98
added a commit
to ballle98/AqualinkD
that referenced
this issue
May 2, 2024
ballle98
added a commit
to ballle98/AqualinkD
that referenced
this issue
May 20, 2024
ballle98
added a commit
to ballle98/AqualinkD
that referenced
this issue
Jun 11, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
The text was updated successfully, but these errors were encountered: