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

!666 FUZZ适配64位整改

Merge pull request !666 from 张泊远yg/master
......@@ -241,7 +241,7 @@ namespace OHOS {
return false;
}
uint32_t handle = reinterpret_cast<uint32_t>(data);
uint32_t handle = *(reinterpret_cast<const uint32_t*>(data));
const char* indata = reinterpret_cast<const char*>(data);
DBinderDatabusInvoker invoker;
std::shared_ptr<ThreadProcessInfo> processInfo = invoker.MakeThreadProcessInfo(handle, indata, size);
......@@ -258,7 +258,7 @@ namespace OHOS {
}
dbinder_transaction_data *tr = new dbinder_transaction_data();
uint32_t listenFd = reinterpret_cast<uint32_t>(data);
uint32_t listenFd = *(reinterpret_cast<const uint32_t*>(data));
DBinderDatabusInvoker invoker;
invoker.ProcessTransaction(tr, listenFd);
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册