projects
/
platform
/
core
/
uifw
/
ui-viewmgr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
965edbb
)
ui_popup: fix a crash in ui_popup_create().
67/91967/1
author
Hermet Park
<hermet@hermet.pe.kr>
Wed, 12 Oct 2016 10:00:57 +0000
(19:00 +0900)
committer
Hermet Park
<hermet@hermet.pe.kr>
Wed, 12 Oct 2016 10:00:57 +0000
(19:00 +0900)
+ argument null check.
Change-Id: I5f1e9e369cd122a0575d5eb216a936dcd69955e6
src/lib/efl/mobile/c/ui_popup.cpp
patch
|
blob
|
history
diff --git
a/src/lib/efl/mobile/c/ui_popup.cpp
b/src/lib/efl/mobile/c/ui_popup.cpp
index 661ef8d06aba748492e0f6bc25063284c5113793..2d9db980068ce99b34338a9b24b43252dfd712c3 100644
(file)
--- a/
src/lib/efl/mobile/c/ui_popup.cpp
+++ b/
src/lib/efl/mobile/c/ui_popup.cpp
@@
-18,6
+18,12
@@
static int validate_popup(ui_popup *popup)
EAPI ui_popup *ui_popup_create(ui_view *view)
{
+ if (!view)
+ {
+ LOGE("view is null.");
+ return nullptr;
+ }
+
return new ui_popup(view);
}