From cd9c183e04837ef185ea667b638547f3950842c5 Mon Sep 17 00:00:00 2001 From: pengyanggit Date: Sat, 31 Aug 2024 12:10:08 +0800 Subject: [PATCH] Signed-off-by: pengyanggit yangpeng177@huawei.com Signed-off-by: pengyanggit Change-Id: I57bb796da5eb6a28914ebe40a314534b8a260391 --- intention/drag/server/include/drag_server.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/intention/drag/server/include/drag_server.h b/intention/drag/server/include/drag_server.h index 644390896..97650fc8f 100644 --- a/intention/drag/server/include/drag_server.h +++ b/intention/drag/server/include/drag_server.h @@ -55,7 +55,8 @@ private: int32_t GetShadowOffset(CallingContext &context, MessageParcel &data, MessageParcel &reply); int32_t GetDragData(CallingContext &context, MessageParcel &data, MessageParcel &reply); int32_t GetDragState(CallingContext &context, MessageParcel &data, MessageParcel &reply); - int32_t GetDragSummary(CallingContext &context, MessageParcel &data, MessageParcel &reply); + __attribute__((no_sanitize("cfi"))) int32_t GetDragSummary(CallingContext &context, + MessageParcel &data, MessageParcel &reply); int32_t GetDragAction(CallingContext &context, MessageParcel &data, MessageParcel &reply); int32_t GetExtraInfo(CallingContext &context, MessageParcel &data, MessageParcel &reply); int32_t EnterTextEditorArea(CallingContext &context, MessageParcel &data, MessageParcel &reply);