mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-11-16 00:12:43 +00:00
check tagset for null
This commit is contained in:
parent
786c27c8ec
commit
f21e1c75d5
@ -588,7 +588,7 @@ namespace garlic
|
|||||||
auto it = m_ECIESx25519Tags.find (tag);
|
auto it = m_ECIESx25519Tags.find (tag);
|
||||||
if (it != m_ECIESx25519Tags.end ())
|
if (it != m_ECIESx25519Tags.end ())
|
||||||
{
|
{
|
||||||
if (it->second.tagset->HandleNextMessage (buf, len, it->second.index))
|
if (it->second.tagset && it->second.tagset->HandleNextMessage (buf, len, it->second.index))
|
||||||
m_LastTagset = it->second.tagset;
|
m_LastTagset = it->second.tagset;
|
||||||
else
|
else
|
||||||
LogPrint (eLogError, "Garlic: Can't handle ECIES-X25519-AEAD-Ratchet message");
|
LogPrint (eLogError, "Garlic: Can't handle ECIES-X25519-AEAD-Ratchet message");
|
||||||
|
Loading…
Reference in New Issue
Block a user