Update KiVerifyContextRecord.c

This commit is contained in:
Alex Ionescu
2020-01-16 08:22:30 +01:00
committed by GitHub
parent b6b2e7fb00
commit 4056f50235
+4 -1
View File
@@ -10,6 +10,9 @@ KiVerifyContextRecord (
process = Thread->Tcb.Process;
//
// If control registers (RIP/RSP) aren't beind modified, no checks to do
//
if (!BooleanFlagOn(ContextFrame->ContextFlags, CONTEXT_CONTROL))
{
return STATUS_SUCCESS;
@@ -48,4 +51,4 @@ KiVerifyContextRecord (
}
return status;
}
}