Fix #33: potential null pointer dereference in RpcCoreInit

This commit is contained in:
silverf0x
2019-01-16 20:56:24 +01:00
parent 341ab8196c
commit d4632ac01c
+1
View File
@@ -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))
{