mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 09:50:52 +00:00
advapi32: Fix size returned from ConvertStringSecurityDescriptorToSecurityDescriptor on 64-bit.
Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
84a9503298
commit
5bc2e83c7a
1 changed files with 1 additions and 1 deletions
|
@ -4652,7 +4652,7 @@ static BOOL ParseStringSecurityDescriptorToSecurityDescriptor(
|
|||
LPBYTE lpNext = NULL;
|
||||
DWORD len;
|
||||
|
||||
*cBytes = sizeof(SECURITY_DESCRIPTOR);
|
||||
*cBytes = sizeof(SECURITY_DESCRIPTOR_RELATIVE);
|
||||
|
||||
tok = heap_alloc( (lstrlenW(StringSecurityDescriptor) + 1) * sizeof(WCHAR));
|
||||
|
||||
|
|
Loading…
Reference in a new issue