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

This commit is contained in:
Davide Beatrici authored and GitHub committed 2019-09-30 06:59:04 +02:00
commit c8a0a5648b
1 file changed
+1 -1
+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;