[NTOS] Addendum to d8cb37bf: return the correct Status from NtAllocateUuids().

This commit is contained in:
Hermès Bélusca-Maïto 2018-12-20 03:45:43 +01:00
parent 03873aeef3
commit f4597b5540
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -398,6 +398,8 @@ NtAllocateUuids(OUT PULARGE_INTEGER Time,
RtlCopyMemory(Seed,
UuidSeed,
SEED_BUFFER_SIZE);
Status = STATUS_SUCCESS;
}
_SEH2_EXCEPT(ExSystemExceptionFilter())
{
@ -405,7 +407,7 @@ NtAllocateUuids(OUT PULARGE_INTEGER Time,
}
_SEH2_END;
return STATUS_SUCCESS;
return Status;
}