diff --git a/reactos/lib/rtl/bootdata.c b/reactos/lib/rtl/bootdata.c index d1b87312552..2093f6d7458 100644 --- a/reactos/lib/rtl/bootdata.c +++ b/reactos/lib/rtl/bootdata.c @@ -230,6 +230,10 @@ RtlpSysVolCheckOwnerAndSecurity(IN HANDLE DirectoryHandle, 0, 0, &LocalSystemSid); + if (!NT_SUCCESS(Status)) + { + goto Cleanup; + } /* check if the Administrators are the owner and at least a not-NULL DACL is present */