diff options
author | Jose Fonseca <jfonseca@vmware.com> | 2015-12-16 17:05:20 +0000 |
---|---|---|
committer | Jose Fonseca <jfonseca@vmware.com> | 2015-12-16 17:05:20 +0000 |
commit | 84e644fc7bb99f865374b55e13b36c6760148e53 (patch) | |
tree | 9af7f33581048353a881af06e5bbffa87179055b | |
parent | bb368aa0dfe2f205c73038a94d228e4684fe7af5 (diff) |
inject: Don't hook AcLayers.dll.
Or infinite recursion will ensue.
-rw-r--r-- | inject/injectee.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/inject/injectee.cpp b/inject/injectee.cpp index 54120037..56eaffc0 100644 --- a/inject/injectee.cpp +++ b/inject/injectee.cpp @@ -664,8 +664,12 @@ patchModule(HMODULE hModule, * stack overflow), especially when those libraries use techniques like * modifying the hooked functions prolog (instead of patching IAT like we * do). + * + * See also: + * - http://www.nynaeve.net/?p=62 */ if (stricmp(szBaseName, "kernel32.dll") == 0 || + stricmp(szBaseName, "AcLayers.dll") == 0 || stricmp(szBaseName, "ConEmuHk.dll") == 0 || stricmp(szBaseName, "gameoverlayrenderer.dll") == 0 || stricmp(szBaseName, "gameoverlayrenderer64.dll") == 0) { |