projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
839338e
)
e_comp_wl_data: Add source null checking condition
73/302273/1
author
Junkyeong Kim
<jk0430.kim@samsung.com>
Tue, 5 Dec 2023 03:59:13 +0000
(12:59 +0900)
committer
Tizen Window System
<tizen.windowsystem@gmail.com>
Tue, 5 Dec 2023 04:24:32 +0000
(13:24 +0900)
Change-Id: I163b0fe61f5c39d5236e4798028f55cfebf3dfcb
src/bin/e_comp_wl_data.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_wl_data.c
b/src/bin/e_comp_wl_data.c
index
ba2853e
..
a8a4cb6
100644
(file)
--- 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;