Signed-off-by: Sven Baars sven.wine@gmail.com --- dlls/advapi32/security.c | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/dlls/advapi32/security.c b/dlls/advapi32/security.c index 70e2da40e7..07758eeed6 100644 --- a/dlls/advapi32/security.c +++ b/dlls/advapi32/security.c @@ -4123,6 +4123,12 @@ DWORD WINAPI SetEntriesInAclW( ULONG count, PEXPLICIT_ACCESSW pEntries, } }
+ if (status != STATUS_SUCCESS) + { + ret = RtlNtStatusToDosError(status); + goto exit; + } + if (OldAcl) { for (i = 0; ; i++)