mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Check for renderdoc.dll precisely when injecting, not just close match
* This means we don't call into a random dll if it happens to contain the substring 'renderdoc.dll' somewhere.
This commit is contained in:
@@ -324,7 +324,7 @@ uintptr_t FindRemoteDLL(DWORD pid, wstring libName)
|
||||
|
||||
numModules++;
|
||||
|
||||
if(wcsstr(modnameLower, libName.c_str()))
|
||||
if(wcsstr(modnameLower, libName.c_str()) == modnameLower)
|
||||
{
|
||||
ret = (uintptr_t)me32.modBaseAddr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user