Skip to content
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

SEGV while siege #96

Closed
migrae opened this issue Sep 7, 2023 · 1 comment · Fixed by #100
Closed

SEGV while siege #96

migrae opened this issue Sep 7, 2023 · 1 comment · Fixed by #100
Assignees
Labels
bug Something isn't working

Comments

@migrae
Copy link
Collaborator

migrae commented Sep 7, 2023

i ran siege with r100 parameter and after a few seconds the webserver crashed due to a heap buffer overflow:

#0 0x10dddf72d in std::__1::vector<Location, std::__1::allocator<Location> >::begin() vector:1516
#1 0x10dddf1fe in Config::getLocationByPath(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) ConfigGet.cpp:21
#2 0x10dce739a in Webserver::createResponse_(Socket&) Webserver.cpp:146
#3 0x10dce64ad in Webserver::existingConnection_(Socket&, pollfd&, unsigned long&) Webserver.cpp:177
@migrae migrae added the bug Something isn't working label Sep 7, 2023
@migrae
Copy link
Collaborator Author

migrae commented Sep 7, 2023

#77

@oph-design oph-design linked a pull request Sep 7, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants