修复fuzz测试

Signed-off-by: zhouyongfei <zhouyongfei@huawei.com>
This commit is contained in:
zhouyongfei
2022-03-05 11:23:16 +08:00
parent fa12d351be
commit da7fbe7377
@@ -78,6 +78,7 @@ namespace MiscServices {
sptr<IRemoteObject> channelObject = inputControlChannel->AsObject();
if (channelObject == nullptr) {
IMSA_HILOGI("InputMethodCoreProxy::InitInputControlChannel channelObject is nullptr");
return ErrorCode::ERROR_EX_NULL_POINTER;
}
data.WriteRemoteObject(channelObject);
MessageOption option {