mirror of
https://github.com/monero-project/monero.git
synced 2025-08-16 22:10:33 -04:00
add a sanity check to RPC input data size
reported by m31007
This commit is contained in:
parent
9f814edbd7
commit
9209880e9c
4 changed files with 15 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue