1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-23 01:49:53 +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
commit c8a0a5648b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;