mirror of
https://github.com/winfsp/winfsp.git
synced 2025-12-22 03:52:55 -06: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