mirror of
https://github.com/SChernykh/p2pool.git
synced 2025-01-08 19:59:30 +00:00
Fix CVE-2023-38545
This commit is contained in:
parent
011d05f7b6
commit
5988acb12b
1 changed files with 2 additions and 0 deletions
|
@ -176,6 +176,8 @@ CurlContext::CurlContext(const std::string& address, int port, const std::string
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} 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_WRITEFUNCTION, write_func);
|
||||||
curl_easy_setopt_checked(m_handle, CURLOPT_WRITEDATA, this);
|
curl_easy_setopt_checked(m_handle, CURLOPT_WRITEDATA, this);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue