You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior: Exception is correctly reported.
Actual behavior: Segmentation faults or string truncation depending on port value.
Reproduces how often: 100%
Versions
OS version Linux XXX 5.0.9-arch1-1-ARCH Remove uuid generation #1 SMP PREEMPT Sat Apr 20 15:00:46 UTC 2019 x86_64 GNU/Linux
libhttpserver version master
libmicrohttpd version does not matter
Additional Information
Caused by webserver.cpp:328
throw std::invalid_argument("Unable to connect daemon to port: " + this->port);
needless to say, this increments to pointer rather than appends to string.
Prerequisites
Description
Segmentation fault
Steps to Reproduce
Expected behavior: Exception is correctly reported.
Actual behavior: Segmentation faults or string truncation depending on port value.
Reproduces how often: 100%
Versions
Additional Information
Caused by webserver.cpp:328
throw std::invalid_argument("Unable to connect daemon to port: " + this->port);
needless to say, this increments to pointer rather than appends to string.