mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-11-19 21:25:30 +00:00
fixed memory corruption
This commit is contained in:
parent
f3aab569ca
commit
550f9de41a
@ -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 ();
|
||||
|
Loading…
Reference in New Issue
Block a user