mirror of
https://github.com/monero-project/monero.git
synced 2026-07-31 16:10:38 -07:00
add a sanity check to RPC input data size
reported by m31007
This commit is contained in:
@@ -365,6 +365,8 @@ namespace cryptonote
|
||||
std::move(rpc_config->access_control_origins), std::move(http_login), std::move(rpc_config->ssl_options)
|
||||
);
|
||||
|
||||
m_net_server.get_config_object().m_max_content_length = MAX_RPC_CONTENT_LENGTH;
|
||||
|
||||
if (store_ssl_key && inited)
|
||||
{
|
||||
// new keys were generated, store for next run
|
||||
|
||||
Reference in New Issue
Block a user