mirror of
https://gitee.com/openharmony/distributedhardware_distributed_hardware_fwk
synced 2024-11-23 15:50:09 +00:00
modify fuzz
Signed-off-by: w30042960 <wangyupan1@huawei.com>
This commit is contained in:
parent
b054d92659
commit
08fa8f22b0
@ -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))) {
|
||||
|
Loading…
Reference in New Issue
Block a user