Skip to content

Commit

Permalink
Merge pull request ayoubfaouzi#217 from rdzhaafar/LowFragmentationHea…
Browse files Browse the repository at this point in the history
…p_fix

fixed a bug in LowFragmentationHeap
  • Loading branch information
ayoubfaouzi authored Sep 18, 2020
2 parents 9fbe13a + f5deafd commit f5bf05c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions al-khaser/AntiDebug/LowFragmentationHeap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ Return Value:

// In Windows 10. the offset changes very often.
// Ignoring it from now.
if (*FrontEndHeap == NULL) {
if (FrontEndHeap && *FrontEndHeap == NULL) {
return TRUE;
}

return FALSE;
}
}

0 comments on commit f5bf05c

Please sign in to comment.