From e8fe230b7f2e19558544e6fac4bce0aff67fe866 Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Fri, 25 Nov 2005 15:57:47 +0000 Subject: [PATCH] add missing error check svn path=/trunk/; revision=19557 --- reactos/lib/rtl/bootdata.c | 4 ++++ 1 file changed, 4 insertions(+) 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 */