From 3fc6f5f9afd141bfb872e5a23d7a4f20d59e19a8 Mon Sep 17 00:00:00 2001 From: Junkyeong Kim Date: Tue, 5 Dec 2023 12:59:13 +0900 Subject: [PATCH] e_comp_wl_data: Add source null checking condition Change-Id: I163b0fe61f5c39d5236e4798028f55cfebf3dfcb --- src/bin/e_comp_wl_data.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/e_comp_wl_data.c b/src/bin/e_comp_wl_data.c index ba2853e..a8a4cb6 100644 --- a/src/bin/e_comp_wl_data.c +++ b/src/bin/e_comp_wl_data.c @@ -157,6 +157,7 @@ _e_comp_wl_dnd_offer_mediate(void *data, Ecore_Fd_Handler *handler) if (!(offer = (E_Comp_Wl_Data_Offer*)data)) return ECORE_CALLBACK_CANCEL; + EINA_SAFETY_ON_NULL_RETURN_VAL(offer->source, ECORE_CALLBACK_CANCEL); source_fd = ecore_main_fd_handler_fd_get(handler); if (source_fd < 0) goto cleanup; -- 2.7.4