mirror of
https://github.com/reactos/wine.git
synced 2025-02-05 03:26:33 +00:00
kernel32: Fix GetComputerName buffer overflow.
This commit is contained in:
parent
ddf57d26af
commit
34c7a72d14
@ -517,7 +517,7 @@ static void set_additional_environment(void)
|
||||
OBJECT_ATTRIBUTES attr;
|
||||
UNICODE_STRING nameW;
|
||||
WCHAR *profile_dir = NULL, *all_users_dir = NULL;
|
||||
WCHAR buf[MAX_COMPUTERNAME_LENGTH];
|
||||
WCHAR buf[MAX_COMPUTERNAME_LENGTH+1];
|
||||
HANDLE hkey;
|
||||
DWORD len;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user