mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2026-10-22 01:51:20 +03:00
Fix bugs reported by Coverity Scan.
This commit is contained in:
1 parent
06c06f1db8
commit
ee9990317b
12 files changed
+29
-15
No files matched your search
@@ -15081,7 +15081,7 @@ void GetMachineNameEx(char *name, UINT size, bool no_load_hosts)
|
||||
{
|
||||
if (GetMachineNameFromHosts(tmp2, sizeof(tmp2)))
|
||||
{
|
||||
StrCpy(name, sizeof(name), tmp2);
|
||||
StrCpy(name, size, tmp2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user