projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
222f1e6
)
elm_conform: to prevent crash, add null check before resizing conformant area
84/42884/1
submit/tizen/20150703.125223
author
Gwanglim Lee
<gl77.lee@samsung.com>
Fri, 3 Jul 2015 12:48:06 +0000
(21:48 +0900)
committer
Gwanglim Lee
<gl77.lee@samsung.com>
Fri, 3 Jul 2015 12:48:06 +0000
(21:48 +0900)
Change-Id: Ib8e491167fdabd441f4fdf42fad2098bfd932bc3
src/lib/elm_conform.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_conform.c
b/src/lib/elm_conform.c
index
2d6246a
..
92f33fe
100644
(file)
--- a/
src/lib/elm_conform.c
+++ b/
src/lib/elm_conform.c
@@
-914,6
+914,11
@@
_on_conformant_changed(void *data,
part_type = (ELM_CONFORMANT_INDICATOR_PART |
ELM_CONFORMANT_VIRTUAL_KEYPAD_PART);
+ ELM_CONFORMANT_DATA_GET(data, sd);
+
+ /* object is already freed */
+ if (!sd) return;
+
_conformant_part_sizing_eval(data, part_type);
}