Skip to content

Commit

Permalink
Merge Restore kernel32 memory protection after patching (mr-468)
Browse files Browse the repository at this point in the history
37eaac9 - fix(launcher): restore kernel32 memory protection after patching
  • Loading branch information
prikolium-cfx committed Aug 16, 2024
2 parents 09c04d4 + 37eaac9 commit 705cd79
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/client/launcher/MiniDump.Shared.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,8 @@ extern "C" DLL_EXPORT bool InitializeExceptionHandler()
#else
*(uint32_t*)unhandledFilter = 0x900004C2;
#endif

VirtualProtect(unhandledFilter, 4, oldProtect, &oldProtect);
}
}

Expand Down

0 comments on commit 705cd79

Please sign in to comment.