mirror of
https://gitee.com/openharmony/ability_dmsfwk
synced 2024-11-27 00:20:44 +00:00
update test/fuzztest/distributedschedstub_fuzzer/distributedschedstub_fuzzer.cpp.
Signed-off-by: 师皓杰 <shihaojie10@huawei.com>
This commit is contained in:
parent
63c60feb64
commit
3338ac8464
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user