fix: 内源检视问题修复
Signed-off-by: arvinzzz <zhaotianyu9@huawei.com> Change-Id: I7c0b8f4026d8fbd4b0d985d4ce82187e56f1d6ec
This commit is contained in:
@@ -103,7 +103,7 @@ LITE_OS_SEC_TEXT_INIT UINT32 OsLiteIpcInit(VOID)
|
||||
#if (USE_TASKID_AS_HANDLE == 1)
|
||||
g_cmsTask.status = HANDLE_NOT_USED;
|
||||
#else
|
||||
memset_s(g_serviceHandleMap, sizeof(g_serviceHandleMap), 0, sizeof(g_serviceHandleMap));
|
||||
(void)memset_s(g_serviceHandleMap, sizeof(g_serviceHandleMap), 0, sizeof(g_serviceHandleMap));
|
||||
#endif
|
||||
ret = LOS_MuxInit(&g_serviceHandleMapMux, NULL);
|
||||
if (ret != LOS_OK) {
|
||||
@@ -565,7 +565,7 @@ LITE_OS_SEC_TEXT STATIC UINT32 SendDeathMsg(UINT32 processID, UINT32 serviceHand
|
||||
}
|
||||
content.flag = SEND;
|
||||
content.outMsg = &msg;
|
||||
memset_s(content.outMsg, sizeof(IpcMsg), 0, sizeof(IpcMsg));
|
||||
(void)memset_s(content.outMsg, sizeof(IpcMsg), 0, sizeof(IpcMsg));
|
||||
content.outMsg->type = MT_DEATH_NOTIFY;
|
||||
content.outMsg->target.handle = ipcTaskID;
|
||||
content.outMsg->target.token = serviceHandle;
|
||||
|
||||
Reference in New Issue
Block a user