Fuzz整改

issue:https://gitee.com/openharmony/ability_dmsfwk/issues/I80U5G

Signed-off-by: liuxiaowei42 <liuxiaowei42@huawei.com>
This commit is contained in:
liuxiaowei42 2023-09-12 21:53:27 +08:00
parent 623f6f742d
commit daa9243c49
4 changed files with 4 additions and 3 deletions

View File

@ -13,6 +13,7 @@
declare_args() {
dms_path = "//foundation/ability/dmsfwk"
module_output_path = "dmsfwk/dmsfwk"
communication_path = "//foundation/communication"
dmsfwk_standard_form_share = true
dmsfwk_mission_manager = false

View File

@ -43,7 +43,7 @@ private:
int32_t ConnectRemoteAbilityInner(MessageParcel& data, MessageParcel& reply);
int32_t DisconnectRemoteAbilityInner(MessageParcel& data, MessageParcel& reply);
int32_t ConnectAbilityFromRemoteInner(MessageParcel& data, MessageParcel& reply);
int32_t ReadDataForConnect(MessageParcel& data, CallerInfo callerInfo, AccountInfo accountInfo);
int32_t ReadDataForConnect(MessageParcel& data, CallerInfo& callerInfo, AccountInfo& accountInfo);
int32_t DisconnectAbilityFromRemoteInner(MessageParcel& data, MessageParcel& reply);
int32_t NotifyProcessDiedFromRemoteInner(MessageParcel& data, MessageParcel& reply);
#ifdef SUPPORT_DISTRIBUTED_MISSION_MANAGER

View File

@ -546,7 +546,7 @@ int32_t DistributedSchedStub::DisconnectRemoteAbilityInner(MessageParcel& data,
PARCEL_WRITE_REPLY_NOERROR(reply, Int32, result);
}
int32_t DistributedSchedStub::ReadDataForConnect(MessageParcel& data, CallerInfo callerInfo, AccountInfo accountInfo)
int32_t DistributedSchedStub::ReadDataForConnect(MessageParcel& data, CallerInfo& callerInfo, AccountInfo& accountInfo)
{
PARCEL_READ_HELPER(data, Int32, callerInfo.uid);
PARCEL_READ_HELPER(data, Int32, callerInfo.pid);

View File

@ -15,7 +15,7 @@
import("//build/config/features.gni")
import("//build/ohos.gni")
import("//build/test.gni")
module_output_path = "dmsfwk/continuationmanager"
import("//foundation/ability/dmsfwk/dmsfwk.gni")
distributed_service = "//foundation/ability/dmsfwk/services"
config("continuationmanager_fuzz_config") {