mirror of
https://github.com/HyperDbg/HyperDbg.git
synced 2026-07-09 17:19:26 +00:00
fix(symbols): validate user module details
This commit is contained in:
parent
f7d196f36d
commit
95a3305bd4
1 changed files with 3 additions and 3 deletions
|
|
@ -764,7 +764,7 @@ SymbolBuildSymbolTable(PMODULE_SYMBOL_DETAIL * BufferToStoreDetails,
|
|||
//
|
||||
// check the module list
|
||||
//
|
||||
if (ModuleCountRequest.Result == DEBUGGER_OPERATION_WAS_SUCCESSFUL)
|
||||
if (ModuleDetailsRequest->Result == DEBUGGER_OPERATION_WAS_SUCCESSFUL)
|
||||
{
|
||||
//
|
||||
// Se the modules buffer
|
||||
|
|
@ -784,7 +784,7 @@ SymbolBuildSymbolTable(PMODULE_SYMBOL_DETAIL * BufferToStoreDetails,
|
|||
}
|
||||
else
|
||||
{
|
||||
ShowErrorMessage(ModuleCountRequest.Result);
|
||||
ShowErrorMessage(ModuleDetailsRequest->Result);
|
||||
free(ModuleDetailsRequest);
|
||||
break;
|
||||
}
|
||||
|
|
@ -1022,7 +1022,7 @@ SymbolBuildSymbolTable(PMODULE_SYMBOL_DETAIL * BufferToStoreDetails,
|
|||
//
|
||||
if (SendOverSerial)
|
||||
{
|
||||
KdSendSymbolDetailPacket(&ModuleSymDetailArray[IndexInSymbolBuffer], i, ModuleInfo->NumberOfModules + ModulesCount);
|
||||
KdSendSymbolDetailPacket(&ModuleSymDetailArray[IndexInSymbolBuffer], IndexInSymbolBuffer, ModuleInfo->NumberOfModules + ModulesCount);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue