mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 09:59:44 +00:00
[ADVAPI32]
- Do not fail in RegQueryInfoKeyW if NtQuerySecurityObject fails, as shown by the test CORE-9719 svn path=/trunk/; revision=67850
This commit is contained in:
parent
f7bf32d2ad
commit
bac6c8579c
|
@ -3781,12 +3781,9 @@ RegQueryInfoKeyW(HKEY hKey,
|
||||||
NULL,
|
NULL,
|
||||||
0,
|
0,
|
||||||
lpcbSecurityDescriptor);
|
lpcbSecurityDescriptor);
|
||||||
if (!NT_SUCCESS(Status) && Status != STATUS_BUFFER_TOO_SMALL)
|
if (Status != STATUS_BUFFER_TOO_SMALL)
|
||||||
{
|
{
|
||||||
ERR("NtQuerySecurityObject for key %p (%p) failed with %lx\n",
|
*lpcbSecurityDescriptor = 0;
|
||||||
KeyHandle, hKey, Status);
|
|
||||||
ErrorCode = RtlNtStatusToDosError(Status);
|
|
||||||
goto Cleanup;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue