mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 08:00:38 +03: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