mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-17 14:48:17 +00:00
Fix: (1) Windows stack overflow due to buffer too large in peer deserialize, (2) clean up some other stuff seen during debugging and reduce the sizes of some buffers due to Windows small stack size, (3) remove a redundant try/catch.
This commit is contained in:
@ -158,7 +158,7 @@ bool Identity::fromString(const char *str)
|
||||
return false;
|
||||
|
||||
char *saveptr = (char *)0;
|
||||
char tmp[4096];
|
||||
char tmp[1024];
|
||||
if (!Utils::scopy(tmp,sizeof(tmp),str))
|
||||
return false;
|
||||
|
||||
|
Reference in New Issue
Block a user