!769 fix: 修复hm_liteipc.c的double unlock错误
Merge pull request !769 from niejianglei/master
This commit is contained in:
commit
18a2fc8e8d
|
@ -865,7 +865,7 @@ LITE_OS_SEC_TEXT STATIC UINT32 CheckMsgSize(IpcMsg *msg)
|
|||
totalSize += obj->content.ptr.buffSz;
|
||||
}
|
||||
}
|
||||
(VOID)LOS_MuxUnlock(&g_serviceHandleMapMux);
|
||||
(VOID)LOS_MuxLock(&g_serviceHandleMapMux, LOS_WAIT_FOREVER);
|
||||
if (totalSize > g_cmsTask.maxMsgSize) {
|
||||
(VOID)LOS_MuxUnlock(&g_serviceHandleMapMux);
|
||||
return -EINVAL;
|
||||
|
|
Loading…
Reference in New Issue