projects
/
platform
/
core
/
uifw
/
e-mod-tizen-wl-textinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34fa53c
)
add null check to prevent segmentation fault when releasing input panel surface
79/39379/1
author
Gwanglim Lee
<gl77.lee@samsung.com>
Thu, 14 May 2015 05:06:20 +0000
(14:06 +0900)
committer
Gwanglim Lee
<gl77.lee@samsung.com>
Thu, 14 May 2015 05:06:20 +0000
(14:06 +0900)
Change-Id: I0c58168672fa0018c41c27d1faf163ef37d2d9f2
src/e_mod_input_panel.c
patch
|
blob
|
history
diff --git
a/src/e_mod_input_panel.c
b/src/e_mod_input_panel.c
index
920b816
..
61cbc6f
100644
(file)
--- a/
src/e_mod_input_panel.c
+++ b/
src/e_mod_input_panel.c
@@
-223,6
+223,14
@@
_e_input_panel_surface_unmap(struct wl_resource *resource)
return;
}
+ if (!ec->comp_data)
+ {
+ wl_resource_post_error(resource,
+ WL_DISPLAY_ERROR_INVALID_OBJECT,
+ "No Client For Input Panel Surface");
+ return;
+ }
+
if (ec->comp_data->mapped)
{
ec->visible = EINA_FALSE;