mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-30 04:37:50 +02:00
Ensure zero-inialization, add TODO update gitignore.
This commit is contained in:
parent
c939dec26a
commit
62ac53563c
8 changed files with 35 additions and 19 deletions
|
@ -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 + 16] = {};
|
||||
};
|
||||
|
||||
I2NPMessage * NewI2NPMessage ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue