From fb4c65f33a78beea84173130ec3d1abe15813018 Mon Sep 17 00:00:00 2001 From: torrizo Date: Thu, 29 May 2025 08:55:27 +0000 Subject: [PATCH] update test/interfacesfuzztest/devicemanagerimpl_fuzzer/device_manager_impl_fuzzer.cpp. Signed-off-by: torrizo --- .../device_manager_impl_fuzzer.cpp | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/test/interfacesfuzztest/devicemanagerimpl_fuzzer/device_manager_impl_fuzzer.cpp b/test/interfacesfuzztest/devicemanagerimpl_fuzzer/device_manager_impl_fuzzer.cpp index 0588d12c3..69cebe8cf 100755 --- a/test/interfacesfuzztest/devicemanagerimpl_fuzzer/device_manager_impl_fuzzer.cpp +++ b/test/interfacesfuzztest/devicemanagerimpl_fuzzer/device_manager_impl_fuzzer.cpp @@ -32,7 +32,7 @@ void StopAuthenticateDeviceTest(const uint8_t* data, size_t size) { - if ((data == nullptr) || (size = 0)) { + if ((data == nullptr) || (size == 0)) { return; } FuzzedDataProvider fdp(data, size); @@ -43,7 +43,7 @@ void UnBindDeviceTest(const uint8_t* data, size_t size) { - if ((data == nullptr) || (size = 0)) { + if ((data == nullptr) || (size == 0)) { return; } FuzzedDataProvider fdp(data, size); @@ -54,7 +54,7 @@ void ShiftLNNGearTest(const uint8_t* data, size_t size) { - if ((data == nullptr) || (size = 0)) { + if ((data == nullptr) || (size == 0)) { return; } FuzzedDataProvider fdp(data, size); @@ -64,7 +64,7 @@ void RegDevTrustChangeCallbackTest(const uint8_t* data, size_t size) { - if ((data == nullptr) || (size = 0)) { + if ((data == nullptr) || (size == 0)) { return; } FuzzedDataProvider fdp(data, size); @@ -75,7 +75,7 @@ void GetNetworkIdByUdidTest(const uint8_t* data, size_t size) { - if ((data == nullptr) || (size = 0)) { + if ((data == nullptr) || (size == 0)) { return; } FuzzedDataProvider fdp(data, size); @@ -87,7 +87,7 @@ void RegisterCredentialAuthStatusCallbackTest(const uint8_t* data, size_t size) { - if ((data == nullptr) || (size = 0)) { + if ((data == nullptr) || (size == 0)) { return; } FuzzedDataProvider fdp(data, size); @@ -98,7 +98,7 @@ void GetAllTrustedDeviceListTest(const uint8_t* data, size_t size) { - if ((data == nullptr) || (size = 0)) { + if ((data == nullptr) || (size == 0)) { return; } FuzzedDataProvider fdp(data, size); @@ -110,7 +110,7 @@ void RegisterSinkBindCallbackTest(const uint8_t* data, size_t size) { - if ((data == nullptr) || (size = 0)) { + if ((data == nullptr) || (size == 0)) { return; } FuzzedDataProvider fdp(data, size); @@ -121,7 +121,7 @@ void GetDeviceProfileInfoListTest(const uint8_t* data, size_t size) { - if ((data == nullptr) || (size = 0)) { + if ((data == nullptr) || (size == 0)) { return; } FuzzedDataProvider fdp(data, size); @@ -133,7 +133,7 @@ void GetDeviceIconInfoTest(const uint8_t* data, size_t size) { - if ((data == nullptr) || (size = 0)) { + if ((data == nullptr) || (size == 0)) { return; } FuzzedDataProvider fdp(data, size); @@ -145,7 +145,7 @@ void PutDeviceProfileInfoListTest(const uint8_t* data, size_t size) { - if ((data == nullptr) || (size = 0)) { + if ((data == nullptr) || (size == 0)) { return; } FuzzedDataProvider fdp(data, size); @@ -168,7 +168,7 @@ void GetDeviceNetworkIdListTest(const uint8_t* data, size_t size) { - if ((data == nullptr) || (size = 0)) { + if ((data == nullptr) || (size == 0)) { return; } FuzzedDataProvider fdp(data, size); @@ -180,7 +180,7 @@ void SetLocalDeviceNameTest(const uint8_t* data, size_t size) { - if ((data == nullptr) || (size = 0)) { + if ((data == nullptr) || (size == 0)) { return; } FuzzedDataProvider fdp(data, size); @@ -192,7 +192,7 @@ void SetRemoteDeviceNameTest(const uint8_t* data, size_t size) { - if ((data == nullptr) || (size = 0)) { + if ((data == nullptr) || (size == 0)) { return; } FuzzedDataProvider fdp(data, size); @@ -205,7 +205,7 @@ void RestoreLocalDeviceNameTest(const uint8_t* data, size_t size) { - if ((data == nullptr) || (size = 0)) { + if ((data == nullptr) || (size == 0)) { return; } FuzzedDataProvider fdp(data, size); @@ -228,7 +228,7 @@ void UnRegisterPinHolderCallbackTest(const uint8_t* data, size_t size) { - if ((data == nullptr) || (size = 0)) { + if ((data == nullptr) || (size == 0)) { return; } FuzzedDataProvider fdp(data, size); -- Gitee