mirror of
https://gitee.com/openharmony/communication_ipc
synced 2024-11-23 07:50:24 +00:00
fix:屏蔽高风险fuzz接口
Signed-off-by: weimengxue <weimengxue1@h-partners.com>
This commit is contained in:
parent
88b5509f9c
commit
ddbe901e3c
@ -375,7 +375,13 @@ napi_value NAPIRemoteObject::ThenCallback(napi_env env, napi_callback_info info)
|
||||
napi_value argv[ARGV_LENGTH_1] = {nullptr};
|
||||
void* data = nullptr;
|
||||
napi_get_cb_info(env, info, &argc, argv, nullptr, &data);
|
||||
napi_value res;
|
||||
CallbackParam *param = static_cast<CallbackParam *>(data);
|
||||
if (param == nullptr) {
|
||||
ZLOGE(LOG_LABEL, "param is null");
|
||||
napi_get_undefined(env, &res);
|
||||
return res;
|
||||
}
|
||||
bool result = false;
|
||||
napi_get_value_bool(param->env, argv[ARGV_INDEX_0], &result);
|
||||
if (!result) {
|
||||
@ -391,7 +397,6 @@ napi_value NAPIRemoteObject::ThenCallback(napi_env env, napi_callback_info info)
|
||||
std::unique_lock<std::mutex> lock(param->lockInfo->mutex);
|
||||
param->lockInfo->ready = true;
|
||||
param->lockInfo->condition.notify_all();
|
||||
napi_value res;
|
||||
napi_get_undefined(env, &res);
|
||||
return res;
|
||||
}
|
||||
|
@ -49,7 +49,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":GetFeatureSizeFuzzTest",
|
||||
# ":GetFeatureSizeFuzzTest",
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -50,7 +50,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":GetRpcFeatureAckFuzzTest",
|
||||
# ":GetRpcFeatureAckFuzzTest",
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -49,7 +49,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":GetTokenFromDataFuzzTest",
|
||||
# ":GetTokenFromDataFuzzTest",
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -50,7 +50,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":GetTokenIdSizeFuzzTest",
|
||||
# ":GetTokenIdSizeFuzzTest",
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -49,7 +49,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":IsATEnableFuzzTest",
|
||||
# ":IsATEnableFuzzTest",
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -50,7 +50,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":IsFeatureAckFuzzTest",
|
||||
# ":IsFeatureAckFuzzTest",
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -50,7 +50,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":SetFeatureTransDataFuzzTest",
|
||||
# ":SetFeatureTransDataFuzzTest",
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -52,7 +52,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":BufferObjectFuzzTest",
|
||||
# ":BufferObjectFuzzTest",
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -49,7 +49,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":CloseDatabusSessionFuzzTest",
|
||||
# ":CloseDatabusSessionFuzzTest",
|
||||
]
|
||||
}
|
||||
###############################################################################
|
||||
|
@ -43,7 +43,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":DBinderServiceFuzzTest",
|
||||
# ":DBinderServiceFuzzTest",
|
||||
]
|
||||
}
|
||||
###############################################################################
|
||||
|
@ -46,7 +46,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":DetachProxyObjectFuzzTest",
|
||||
# ":DetachProxyObjectFuzzTest",
|
||||
]
|
||||
}
|
||||
###############################################################################
|
||||
|
@ -45,7 +45,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":LoadSystemAbilityCompleteFuzzTest",
|
||||
# ":LoadSystemAbilityCompleteFuzzTest",
|
||||
]
|
||||
}
|
||||
###############################################################################
|
||||
|
@ -43,7 +43,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":NoticeDeviceDieFuzzTest",
|
||||
# ":NoticeDeviceDieFuzzTest",
|
||||
]
|
||||
}
|
||||
###############################################################################
|
||||
|
@ -43,7 +43,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":NoticeServiceDieFuzzTest",
|
||||
# ":NoticeServiceDieFuzzTest",
|
||||
]
|
||||
}
|
||||
###############################################################################
|
||||
|
@ -46,7 +46,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":OnBytesReceivedFuzzTest",
|
||||
# ":OnBytesReceivedFuzzTest",
|
||||
]
|
||||
}
|
||||
###############################################################################
|
||||
|
@ -46,7 +46,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":SendDataToRemoteFuzzTest",
|
||||
# ":SendDataToRemoteFuzzTest",
|
||||
]
|
||||
}
|
||||
###############################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user