Altered return of DomitoFindModuleBaseAddress to report success even when optional arg is missing
This commit is contained in:
parent
b57e5b939a
commit
1377104860
@ -129,10 +129,11 @@ DomitoFindModuleBaseAddress(
|
||||
|
||||
if (0 == RtlCompareString(&ModuleName, ¤tImageName, TRUE))
|
||||
{
|
||||
status = STATUS_SUCCESS;
|
||||
|
||||
// Found the module, store the base address
|
||||
if (ModuleBase)
|
||||
{
|
||||
status = STATUS_SUCCESS;
|
||||
*ModuleBase = moduleInfo->Module[i].Base;
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user