mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-11-04 10:27:35 +00:00
fixed crash
This commit is contained in:
1 parent
08f5af68f0
commit
ccb4e967cf
1 file changed
+1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user