We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8c25cb commit d53fc95Copy full SHA for d53fc95
1 file changed
NativeCore/Windows/EnumerateRemoteSectionsAndModules.cpp
@@ -50,7 +50,7 @@ static DWORD EnumerateRemoteModulesNative(HANDLE process, Proc proc)
50
return error;
51
52
PPEB_LDR_DATA ldr;
53
- auto success = ReadRemoteMemory(process, ppeb->Ldr, &ldr, 0, sizeof(ldr));
+ auto success = ReadRemoteMemory(process, &ppeb->Ldr, &ldr, 0, sizeof(ldr));
54
if (!success)
55
return ERROR_READ_FAULT; // we seem to swallow the error anyways, might aswell give a distinctive one back
56
0 commit comments