mirror of
				https://github.com/winfsp/winfsp.git
				synced 2025-10-30 19:48:38 -05:00 
			
		
		
		
	sys: IRP_MJ_CREATE
This commit is contained in:
		| @@ -258,7 +258,8 @@ static NTSTATUS FspFsvolCreate( | ||||
|         /* copy the security descriptor into the request */ | ||||
|         if (IsAbsoluteSecurityDescriptor) | ||||
|         { | ||||
|             Result = RtlAbsoluteToSelfRelativeSD(SecurityDescriptor, 0, &SecurityDescriptorSize); | ||||
|             Result = RtlAbsoluteToSelfRelativeSD(SecurityDescriptor, | ||||
|                 Request->Buffer + Request->Req.Create.SecurityDescriptor, &SecurityDescriptorSize); | ||||
|             if (!NT_SUCCESS(Result)) | ||||
|             { | ||||
|                 FspFileContextDelete(FsContext); | ||||
| @@ -267,7 +268,7 @@ static NTSTATUS FspFsvolCreate( | ||||
|                 goto exit; | ||||
|             } | ||||
|         } | ||||
|         else | ||||
|         else if (IsSelfRelativeSecurityDescriptor) | ||||
|             RtlCopyMemory(Request->Buffer + Request->Req.Create.SecurityDescriptor, | ||||
|                 SecurityDescriptor, SecurityDescriptorSize); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user