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:
b61d53b
)
e_comp_wl_data: fix null pointer dereference
58/49358/1
author
Mun, Gwan-gyeong
<kk.moon@samsung.com>
Tue, 13 Oct 2015 02:42:22 +0000
(11:42 +0900)
committer
Mun, Gwan-gyeong
<kk.moon@samsung.com>
Tue, 13 Oct 2015 02:42:22 +0000
(11:42 +0900)
Change-Id: Idcf7366155973730236d313ac08d68e7cfe70f70
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
095900f
..
3654350
100644
(file)
--- a/
src/bin/e_comp_wl_data.c
+++ b/
src/bin/e_comp_wl_data.c
@@
-516,6
+516,7
@@
_e_comp_wl_clipboard_offer_create(E_Comp_Wl_Clipboard_Source* source, int fd)
E_Comp_Wl_Clipboard_Offer *offer;
offer = E_NEW(E_Comp_Wl_Clipboard_Offer, 1);
+ if (!offer) return;
offer->offset = 0;
offer->source = source;