diff options
author | Jose Fonseca <jfonseca@vmware.com> | 2015-07-15 16:07:05 +0100 |
---|---|---|
committer | Jose Fonseca <jfonseca@vmware.com> | 2015-07-15 16:17:10 +0100 |
commit | 498710d4c9fe6f3b432ac7a7acd69b70d6a32bd3 (patch) | |
tree | 7701f78fa4ceee6e777b337ec1b2a6b8ae1ac90e /inject/injectee.cpp | |
parent | 436d5658f5f9888f9c8cc8c4f8b8f665dcdd437c (diff) |
inject: Only specific security attributes when creating the file mapping.
To avoid depending on advapi32.dll from inject.dll.
Diffstat (limited to 'inject/injectee.cpp')
-rw-r--r-- | inject/injectee.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inject/injectee.cpp b/inject/injectee.cpp index bd91f0ad..60d2b4e0 100644 --- a/inject/injectee.cpp +++ b/inject/injectee.cpp @@ -1041,7 +1041,7 @@ DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved) return FALSE; } } else { - SharedMem *pSharedMem = OpenSharedMemory(); + SharedMem *pSharedMem = OpenSharedMemory(NULL); if (!pSharedMem) { debugPrintf("inject: error: failed to open shared memory\n"); return FALSE; |