[SAMSRV] In SamrGetAliasMembership(), perform STATUS_OBJECT_NAME_NOT_FOUND status fixup in the assignment loop as done in the allocation loop.

This avoids this function returning failure while everything actually succeeded.
This commit is contained in:
Hermès Bélusca-Maïto
2018-06-27 23:40:13 +02:00
parent 62384951c8
commit cf56db2eb3
+3
View File
@@ -3538,6 +3538,9 @@ TRACE("Open %S\n", MemberSidString);
SampRegCloseKey(&MemberKeyHandle);
}
if (Status == STATUS_OBJECT_NAME_NOT_FOUND)
Status = STATUS_SUCCESS;
LocalFree(MemberSidString);
}