mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-11-10 01:10:32 +00:00
reserve extra 16 bytes for padding
This commit is contained in:
parent
2ba314d9d9
commit
9fc69db9eb
@ -193,7 +193,7 @@ namespace tunnel
|
||||
struct I2NPMessageBuffer: public I2NPMessage
|
||||
{
|
||||
I2NPMessageBuffer () { buf = m_Buffer; maxLen = sz; };
|
||||
uint8_t m_Buffer[sz + 16];
|
||||
uint8_t m_Buffer[sz + 32]; // 16 alignment + 16 padding
|
||||
};
|
||||
|
||||
std::shared_ptr<I2NPMessage> NewI2NPMessage ();
|
||||
|
Loading…
Reference in New Issue
Block a user