mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-06 15:54:57 +03:00
Merge PR #970: Fix buffer overflow during NETBIOS name resolution
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user