Skip to content

Commit

Permalink
fix(launcher): restore kernel32 memory protection after patching
Browse files Browse the repository at this point in the history
  • Loading branch information
iridium-cfx committed Aug 16, 2024
1 parent 09c04d4 commit 37eaac9
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 37eaac9

Please sign in to comment.