From 9684c46dca4d10052faf494df781dd0ed01e92db Mon Sep 17 00:00:00 2001 From: xuepengcheng <1390206200@qq.com> Date: Mon, 5 Dec 2022 10:53:16 +0000 Subject: [PATCH] add fuzz Signed-off-by: xuepengcheng <1390206200@qq.com> --- .../fuzztest/wifi_sta/enablewifi_fuzzer/enablewifi_fuzzer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wifi/test/fuzztest/wifi_sta/enablewifi_fuzzer/enablewifi_fuzzer.cpp b/wifi/test/fuzztest/wifi_sta/enablewifi_fuzzer/enablewifi_fuzzer.cpp index 4c728e0c0..57ac0f24a 100755 --- a/wifi/test/fuzztest/wifi_sta/enablewifi_fuzzer/enablewifi_fuzzer.cpp +++ b/wifi/test/fuzztest/wifi_sta/enablewifi_fuzzer/enablewifi_fuzzer.cpp @@ -21,7 +21,7 @@ namespace Wifi { std::unique_ptr devicePtr = WifiDevice::GetInstance(WIFI_DEVICE_ABILITY_ID); bool EnableWifiFuzzerTest(const uint8_t* data, size_t size) { - WifiLinkedInfo info; + WifiLinkedInfo info; std::string get_countryCode = std::string(reinterpret_cast(data), size); std::string set_countryCode = std::string(reinterpret_cast(data), size); int addResult;