Hi, EFL developers.
I found SIGSEGV on elementary entry when elm_entry_selection_get returns
NULL.
This patch will fix this crash.
#0 0x00614706 in ?? () from /lib/i386-linux-gnu/libc.so.6
#1 0x0019bb04 in _signal_selection_start (data=0xb73ad898, obj=0xb73ad9c0,
emission=0x850e4a0 "
selection,start", source=0x8479488 "elm.text") at elm_entry.c:1534
#2 0x00556310 in _edje_emit_cb (ed=0x856d760, sig=0x850e4a0
"selection,start", src=0x8479488 "e
lm.text", data=0x0, prop=0 '\000') at edje_program.c:1306
#3 0x00556112 in _edje_emit_handle (ed=0x856d760, sig=0x850e4a0
"selection,start", src=0x847948
8 "elm.text", sdata=0x0, prop=0 '\000') at edje_program.c:1241
#4 0x00551c8b in _edje_message_process (em=0x831c698) at
edje_message_queue.c:656
#5 0x005520b0 in _edje_message_queue_process () at edje_message_queue.c:764
Index: src/lib/elm_entry.c
===================================================================
--- src/lib/elm_entry.c (revision 66713)
+++ src/lib/elm_entry.c (working copy)
@@ -1529,6 +1529,7 @@ _signal_selection_start(void *data, Evas_Object *o
const char *txt = elm_entry_selection_get(data);
Evas_Object *top;
+ if (!txt) return;
top = elm_widget_top_get(data);
if ((top) && (elm_win_xwindow_get(top)))
elm_cnp_selection_set(ELM_SEL_TYPE_PRIMARY, data,
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel