Fix CVE-2023-38545

pull/286/head
SChernykh 7 months ago
parent 011d05f7b6
commit 5988acb12b

@ -176,6 +176,8 @@ CurlContext::CurlContext(const std::string& address, int port, const std::string
} \
} while (0)
curl_easy_setopt_checked(m_handle, CURLOPT_BUFFERSIZE, 102400L);
curl_easy_setopt_checked(m_handle, CURLOPT_WRITEFUNCTION, write_func);
curl_easy_setopt_checked(m_handle, CURLOPT_WRITEDATA, this);

Loading…
Cancel
Save