mirror of
https://github.com/winfsp/winfsp.git
synced 2025-07-03 17:32:57 -05:00
sys: FileNode: properly maintain Security/SecurityChangeNumber fields
This commit is contained in:
@ -292,7 +292,7 @@ NTSTATUS FspFsvolSetSecurityComplete(
|
||||
/* if the security descriptor that we got back is valid */
|
||||
if (0 < Response->Rsp.SetSecurity.SecurityDescriptor.Size &&
|
||||
Response->Buffer + Response->Rsp.SetSecurity.SecurityDescriptor.Size <=
|
||||
(PUINT8)Response + Response->Size &&
|
||||
(PUINT8)Response + Response->Size &&
|
||||
RtlValidRelativeSecurityDescriptor((PVOID)Response->Buffer,
|
||||
Response->Rsp.SetSecurity.SecurityDescriptor.Size, 0))
|
||||
{
|
||||
|
Reference in New Issue
Block a user