From d2e0264b4e82e216e1953315771eef6e68b137ac Mon Sep 17 00:00:00 2001 From: li-tiangang4 Date: Wed, 7 Feb 2024 11:34:31 +0800 Subject: [PATCH] =?UTF-8?q?cfi=5Fcheck=E5=BC=95=E8=B5=B7crash,=E7=BB=86?= =?UTF-8?q?=E7=B2=92=E5=BA=A6=E5=B1=8F=E8=94=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: li-tiangang4 --- interfaces/ipc/src/distributed_input_source_proxy.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/interfaces/ipc/src/distributed_input_source_proxy.cpp b/interfaces/ipc/src/distributed_input_source_proxy.cpp index 9dfe5f9..67134e2 100644 --- a/interfaces/ipc/src/distributed_input_source_proxy.cpp +++ b/interfaces/ipc/src/distributed_input_source_proxy.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021-2023 Huawei Device Co., Ltd. + * Copyright (c) 2021-2024 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -531,6 +531,7 @@ int32_t DistributedInputSourceProxy::StopRemoteInput(const std::string &srcId, c } int32_t DistributedInputSourceProxy::RegisterAddWhiteListCallback(sptr addWhiteListCallback) + __attribute__((no_sanitize("cfi"))) { if (addWhiteListCallback == nullptr) { DHLOGE("DistributedInputSourceProxy addWhiteListCallback is null."); -- Gitee