diff --git a/av_transport/av_trans_control_center/test/fuzztest/avtransstubonremoterequest_fuzzer/avtransstubonremoterequest_fuzzer.cpp b/av_transport/av_trans_control_center/test/fuzztest/avtransstubonremoterequest_fuzzer/avtransstubonremoterequest_fuzzer.cpp index 487fa4fb..6af636e1 100644 --- a/av_transport/av_trans_control_center/test/fuzztest/avtransstubonremoterequest_fuzzer/avtransstubonremoterequest_fuzzer.cpp +++ b/av_transport/av_trans_control_center/test/fuzztest/avtransstubonremoterequest_fuzzer/avtransstubonremoterequest_fuzzer.cpp @@ -21,7 +21,6 @@ #include "iremote_object.h" #include "message_option.h" #include "message_parcel.h" -#include "av_sync_utils.h" namespace OHOS { namespace DistributedHardware { @@ -32,6 +31,11 @@ std::string MarshalSharedMemory(const AVTransSharedMemory &memory) return ""; } +AVTransSharedMemory UnmarshalSharedMemory(const std::string &jsonStr) +{ + return AVTransSharedMemory{0, 0, ""}; +} + void AVTransStubOnRemoteRequestFuzzTest(const uint8_t *data, size_t size) { if ((data == nullptr) || (size < sizeof(int32_t))) {