endless loop fix

This commit is contained in:
NtQuery 2014-03-12 22:35:44 +01:00
parent e8da7ec7ad
commit bdb311d54e
1 changed files with 4 additions and 2 deletions

View File

@ -43,6 +43,10 @@ long IsBadReadPtrRemote(HANDLE hProcess, const VOID *lp, SIZE_T length)
return res; //this is bad
}
}
else
{
return res; //this is bad
}
section += (ULONG_PTR)MemInfo.RegionSize;
@ -57,8 +61,6 @@ long IsBadReadPtrRemote(HANDLE hProcess, const VOID *lp, SIZE_T length)
return 0;
}
__declspec(dllexport) void* TITCALL StaticDisassembleEx(ULONG_PTR DisassmStart, LPVOID DisassmAddress)
{
_DecodedInst engineDecodedInstructions[1];