1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-22 12:24:19 +00:00

fixed crash

This commit is contained in:
orignal 2015-03-11 12:17:38 -04:00
parent 08f5af68f0
commit ccb4e967cf

View File

@ -145,6 +145,7 @@ namespace tunnel
void Align (size_t alignment)
{
if (len + alignment > maxLen) return;
size_t rem = ((size_t)GetBuffer ()) % alignment;
if (rem)
{