jpbarrette/curlpp

error : Stack cookie instrumentation code detected a stack-based buffer overrun.

Yang09701194 opened this issue · 1 comments

I run following code and will get exception:

Stack cookie instrumentation code detected a stack-based buffer overrun.

Is it an inner excption of curlpp? Thanks.

Code:

std::stringstream response;
curlpp::Cleanup myCleanup;
curlpp::Easy myRequest;
myRequest.setOpt<Url>("https://docs.microsoft.com/fr-be/cpp/?view=msvc-160");
myRequest.setOpt(new curlpp::options::WriteStream(&response));
myRequest.perform();
string html = response.str(); 
cout << html;

possible related issue: curl/curl#7332