1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2026-04-20 05:49:26 +03:00

Merge PR #970: Fix buffer overflow during NETBIOS name resolution

This commit is contained in:
Davide Beatrici
2019-09-30 06:59:04 +02:00
committed by GitHub
+1 -1
View File
@@ -6118,7 +6118,7 @@ void EncodeNetBiosName(UCHAR *dst, char *src)
copy_len = 16;
}
Copy(tmp, src, StrLen(src));
Copy(tmp, src, copy_len);
wp = 0;