fixed memory corruption

This commit is contained in:
orignal 2015-03-12 07:31:46 -04:00
parent f3aab569ca
commit 550f9de41a

View File

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