提交 78d7de79 编写于 作者: C crazy_hu

Add abort to fix samgr register bug.

Signed-off-by: Ncrazy_hu <huxiusong1@huawei.com>
上级 cee63f9c
......@@ -443,6 +443,7 @@ void BinderInvoker::OnTransaction(const uint8_t *buffer)
auto targetObject = IPCProcessSkeleton::GetCurrent()->GetRegistryObject();
if (targetObject == nullptr) {
ZLOGE(LABEL, "Invalid samgr stub object");
abort();
} else {
error = targetObject->SendRequest(tr->code, *data, reply, option);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册