From da7fbe73777fa786afc9889c43ed43674b4c0637 Mon Sep 17 00:00:00 2001 From: zhouyongfei Date: Sat, 5 Mar 2022 11:23:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dfuzz=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhouyongfei --- frameworks/inputmethod_ability/src/input_method_core_proxy.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/frameworks/inputmethod_ability/src/input_method_core_proxy.cpp b/frameworks/inputmethod_ability/src/input_method_core_proxy.cpp index ba952c1..9e24df4 100644 --- a/frameworks/inputmethod_ability/src/input_method_core_proxy.cpp +++ b/frameworks/inputmethod_ability/src/input_method_core_proxy.cpp @@ -78,6 +78,7 @@ namespace MiscServices { sptr channelObject = inputControlChannel->AsObject(); if (channelObject == nullptr) { IMSA_HILOGI("InputMethodCoreProxy::InitInputControlChannel channelObject is nullptr"); + return ErrorCode::ERROR_EX_NULL_POINTER; } data.WriteRemoteObject(channelObject); MessageOption option {