mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
Fix incorrect sizeof in RtlCreateSecurityDescriptor().
This commit is contained in:
parent
d73c03a8b0
commit
dd809a736b
@ -362,7 +362,7 @@ NTSTATUS WINAPI RtlCreateSecurityDescriptor(
|
||||
{
|
||||
if (rev!=SECURITY_DESCRIPTOR_REVISION)
|
||||
return STATUS_UNKNOWN_REVISION;
|
||||
memset(lpsd,'\0',sizeof(*lpsd));
|
||||
memset(lpsd,'\0',sizeof(SECURITY_DESCRIPTOR));
|
||||
((SECURITY_DESCRIPTOR*)lpsd)->Revision = SECURITY_DESCRIPTOR_REVISION;
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user