未验证 提交 bb61bcab 编写于 作者: O openharmony_ci 提交者: Gitee

!241 【轻量级 PR】:解决启动异常时samgr不可用问题

Merge pull request !241 from XiYuhao/N/A
......@@ -452,6 +452,10 @@ void BinderInvoker::OnTransaction(const uint8_t *buffer)
}
} else {
targetObject = IPCProcessSkeleton::GetCurrent()->GetRegistryObject();
if (targetObject == nullptr) {
ZLOGE(LABEL, "Invalid samgr stub object");
abort();
}
}
MessageParcel reply;
MessageOption option;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册