File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -425,8 +425,8 @@ RtlGetGroupSecurityDescriptor(PISECURITY_DESCRIPTOR SecurityDescriptor,
425
425
* @implemented
426
426
*/
427
427
NTSTATUS NTAPI
428
- RtlMakeSelfRelativeSD (PISECURITY_DESCRIPTOR AbsSD ,
429
- PISECURITY_DESCRIPTOR_RELATIVE RelSD ,
428
+ RtlMakeSelfRelativeSD (PSECURITY_DESCRIPTOR _AbsSD ,
429
+ PSECURITY_DESCRIPTOR _RelSD ,
430
430
PULONG BufferLength )
431
431
{
432
432
PSID Owner ;
@@ -439,7 +439,9 @@ RtlMakeSelfRelativeSD(PISECURITY_DESCRIPTOR AbsSD,
439
439
ULONG DaclLength ;
440
440
ULONG TotalLength ;
441
441
ULONG_PTR Current ;
442
-
442
+ PISECURITY_DESCRIPTOR AbsSD = (PISECURITY_DESCRIPTOR )_AbsSD ;
443
+ PISECURITY_DESCRIPTOR_RELATIVE RelSD = (PISECURITY_DESCRIPTOR_RELATIVE )_RelSD ;
444
+
443
445
PAGED_CODE_RTL ();
444
446
445
447
RtlpQuerySecurityDescriptor (AbsSD ,
@@ -522,7 +524,7 @@ RtlAbsoluteToSelfRelativeSD(PISECURITY_DESCRIPTOR AbsSD,
522
524
return STATUS_BAD_DESCRIPTOR_FORMAT ;
523
525
}
524
526
525
- return RtlMakeSelfRelativeSD (AbsSD , (PISECURITY_DESCRIPTOR_RELATIVE )RelSD , BufferLength );
527
+ return RtlMakeSelfRelativeSD (AbsSD , (PSECURITY_DESCRIPTOR )RelSD , BufferLength );
526
528
}
527
529
528
530
You can’t perform that action at this time.
0 commit comments