Browse Source

fixed memory corruption

pull/163/head
orignal 10 years ago
parent
commit
550f9de41a
  1. 2
      I2NPProtocol.h

2
I2NPProtocol.h

@ -189,7 +189,7 @@ namespace tunnel
struct I2NPMessageBuffer: public I2NPMessage struct I2NPMessageBuffer: public I2NPMessage
{ {
I2NPMessageBuffer () { buf = m_Buffer; maxLen = sz; }; I2NPMessageBuffer () { buf = m_Buffer; maxLen = sz; };
uint8_t m_Buffer[sz]; uint8_t m_Buffer[sz + 16];
}; };
I2NPMessage * NewI2NPMessage (); I2NPMessage * NewI2NPMessage ();

Loading…
Cancel
Save