未验证 提交 a6f31252 编写于 作者: L lishengming14 提交者: Gitee

update ipc/native/test/fuzztest/core/ipcprocessskeleton_fuzzer/ipcprocessskeleton_fuzzer.cpp.

删除多余空格,释放new出来的结构体
Signed-off-by: Nlishengming14 <lishengming14@huawei.com>
上级 fe48697b
......@@ -41,7 +41,7 @@ namespace OHOS {
uint64_t stubIndex = *(reinterpret_cast<const uint64_t*>(data));
uint32_t listenFd = *(reinterpret_cast<const uint32_t*>(data));
IPCProcessSkeleton *current = IPCProcessSkeleton::GetCurrent();
bool ret = current->AttachAppInfoToStubIndex(pid, uid, tokenId,
deviceId, stubIndex, listenFd);
......@@ -66,7 +66,7 @@ namespace OHOS {
uint32_t tokenId = *(reinterpret_cast<const uint32_t*>(data));
std::string deviceId = tmp;
IPCProcessSkeleton *current = IPCProcessSkeleton::GetCurrent();
bool ret = current->AttachCommAuthInfo(stub, pid, uid, tokenId,
deviceId);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册