Skip to content

Commit

Permalink
fix: Invept invalidation using out of scope descriptor
Browse files Browse the repository at this point in the history
  • Loading branch information
cutecatsandvirtualmachines committed Jan 8, 2024
1 parent 59d224e commit 94b3a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hyperdbg/hprdbghv/code/vmm/ept/Invept.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
UCHAR
EptInvept(_In_ UINT32 Type, _In_ INVEPT_DESCRIPTOR * Descriptor)
{
INVEPT_DESCRIPTOR ZeroDescriptor = {0};
if (!Descriptor)
{
INVEPT_DESCRIPTOR ZeroDescriptor = {0};
Descriptor = &ZeroDescriptor;
}

Expand Down

0 comments on commit 94b3a05

Please sign in to comment.