Skip to content
Snippets Groups Projects
Commit 8efba861 authored by Guillaume Roguez's avatar Guillaume Roguez
Browse files

opendht: bump to b50f368dc8

Include fixes:
[b50f368dc8] infohash: fix buffer-overflow

Refs #73065
Change-Id: Ida437a7dd0043988bca2135842d07ae1bd5c6873
parent a5acbc5a
No related branches found
No related tags found
No related merge requests found
# OPENDHT # OPENDHT
OPENDHT_VERSION := 48c10af32fca51cac8c7f9dca54e17595152e73b OPENDHT_VERSION := b50f368dc8f7c2bc9c11b61b66ac6fd63597aecd
OPENDHT_URL := https://github.com/savoirfairelinux/opendht/archive/$(OPENDHT_VERSION).tar.gz OPENDHT_URL := https://github.com/savoirfairelinux/opendht/archive/$(OPENDHT_VERSION).tar.gz
PKGS += opendht PKGS += opendht
......
...@@ -82,7 +82,7 @@ namespace ring { ...@@ -82,7 +82,7 @@ namespace ring {
static constexpr int ICE_COMPONENTS {1}; static constexpr int ICE_COMPONENTS {1};
static constexpr int ICE_COMP_SIP_TRANSPORT {0}; static constexpr int ICE_COMP_SIP_TRANSPORT {0};
static constexpr int ICE_INIT_TIMEOUT {5}; static constexpr int ICE_INIT_TIMEOUT {5};
static constexpr int ICE_NEGOTIATION_TIMEOUT {60}; static constexpr int ICE_NEGOTIATION_TIMEOUT {300};
constexpr const char * const RingAccount::ACCOUNT_TYPE; constexpr const char * const RingAccount::ACCOUNT_TYPE;
/* constexpr */ const std::pair<uint16_t, uint16_t> RingAccount::DHT_PORT_RANGE {4000, 8888}; /* constexpr */ const std::pair<uint16_t, uint16_t> RingAccount::DHT_PORT_RANGE {4000, 8888};
...@@ -687,11 +687,11 @@ void RingAccount::doRegister_() ...@@ -687,11 +687,11 @@ void RingAccount::doRegister_()
} }
}); });
#if 0 // enable if dht_ logging is needed #if 1 // enable if dht_ logging is needed
dht_.setLoggers( dht_.setLoggers(
[](char const* m, va_list args){ vlogger(LOG_ERR, m, args); }, [](char const* m, va_list args){ vlogger(LOG_ERR, m, args); },
[](char const* m, va_list args){ vlogger(LOG_WARNING, m, args); }, [](char const* m, va_list args){ /*vlogger(LOG_WARNING, m, args);*/ },
[](char const* m, va_list args){ vlogger(LOG_DEBUG, m, args); } [](char const* m, va_list args){ /*vlogger(LOG_DEBUG, m, args);*/ }
); );
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment