mirror of
https://gitee.com/openharmony/msdp_device_status
synced 2024-11-23 07:29:52 +00:00
update test/fuzztest/ipcsocket_fuzzer/ipcsocket_fuzzer.cpp.
Signed-off-by: 李少雄 <lishaoxiong10@huawei.com>
This commit is contained in:
parent
acfe13f3b6
commit
6833c81778
@ -81,8 +81,8 @@ bool SocketConnectionFuzzTest(const uint8_t* data, size_t size)
|
||||
};
|
||||
NetPacket packet(MessageId::COORDINATION_ADD_LISTENER);
|
||||
struct epoll_event ev{};
|
||||
std::shared_ptr<TunnelClient> tunnel = std::make_shared<TunnelClient>();
|
||||
std::unique_ptr<SocketClient> client = std::make_unique<SocketClient>(tunnel);
|
||||
auto tunnel = std::make_shared<TunnelClient>();
|
||||
auto client = std::make_unique<SocketClient>(tunnel);
|
||||
client->Connect();
|
||||
client->Socket();
|
||||
MessageId msgId { MessageId::INVALID };
|
||||
|
Loading…
Reference in New Issue
Block a user