mirror of
https://github.com/silverf0x/RpcView
synced 2026-06-08 17:26:38 +00:00
Fix #33: potential null pointer dereference in RpcCoreInit
This commit is contained in:
@@ -92,6 +92,7 @@ VOID* __fastcall RpcCoreInit(BOOL bForce)
|
||||
RpcCoreManager_T* pRpcCoreManager;
|
||||
|
||||
pRpcCoreManager = (RpcCoreManager_T*)OS_ALLOC(sizeof(RpcCoreManager_T));
|
||||
if (pRpcCoreManager == NULL) return NULL;
|
||||
|
||||
if (!LoadCoreEngine(&pRpcCoreManager->pNativeCore, &pRpcCoreManager->pNativeCoreCtxt, FALSE, bForce))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user