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:
commit
c8a0a5648b
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user