summaryrefslogtreecommitdiff
path: root/src/shared/inject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/inject.cpp')
-rw-r--r--src/shared/inject.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/inject.cpp b/src/shared/inject.cpp
index 9fea7fc8..5a111c4a 100644
--- a/src/shared/inject.cpp
+++ b/src/shared/inject.cpp
@@ -136,6 +136,7 @@ void injectDLL(HANDLE processHandle, HANDLE threadHandle, const std::string &dll
(written != sizeof(stubLocal))) {
throw windows_error("failed to write stub to target process");
}
+
// finally, make the stub the new next thing for the thread to execute
threadContext.Eip = (ULONG)stubRemote;
if (::SetThreadContext(threadHandle, &threadContext) == 0) {