update test/fuzztest/distributedschedstub_fuzzer/distributedschedstub_fuzzer.cpp.

Signed-off-by: 师皓杰 <shihaojie10@huawei.com>
This commit is contained in:
师皓杰 2024-06-13 10:32:53 +00:00 committed by Gitee
parent 63c60feb64
commit 3338ac8464
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -107,13 +107,11 @@ void StartContinuationInnerFuzzTest(const uint8_t* data, size_t size)
MessageParcel dataParcel;
MessageParcel reply;
MessageOption option;
Want want;
int32_t missionId = *(reinterpret_cast<const int32_t*>(data));
int32_t callerUid = *(reinterpret_cast<const int32_t*>(data));
int32_t status = *(reinterpret_cast<const int32_t*>(data));
uint32_t accessToken = *(reinterpret_cast<const int32_t*>(data));
dataParcel.WriteInterfaceToken(DMS_STUB_INTERFACE_TOKEN);
dataParcel.WriteParcelable(&want);
dataParcel.WriteInt32(missionId);
dataParcel.WriteInt32(callerUid);
dataParcel.WriteInt32(status);