Browse Source

reduce buffer size

pull/1016/head
Jeff Becker 7 years ago
parent
commit
ffad1ecd6d
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
  1. 2
      libi2pd/Streaming.cpp

2
libi2pd/Streaming.cpp

@ -242,7 +242,7 @@ namespace stream @@ -242,7 +242,7 @@ namespace stream
if (flags & PACKET_FLAG_SIGNATURE_INCLUDED)
{
uint8_t signature[512];
uint8_t signature[256];
auto signatureLen = m_RemoteIdentity->GetSignatureLen ();
if(signatureLen <= sizeof(signature))
{

Loading…
Cancel
Save