projects
/
profile
/
mobile
/
apps
/
native
/
homescreen-efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2f1ee6
)
app_mgr: validate app info before it is copied
80/66980/1
submit/tizen/20160422.150602
author
Kamil Lipiszko
<k.lipiszko@samsung.com>
Fri, 22 Apr 2016 10:04:11 +0000
(12:04 +0200)
committer
Kamil Lipiszko
<k.lipiszko@samsung.com>
Fri, 22 Apr 2016 10:04:11 +0000
(12:04 +0200)
Change-Id: Ia933fc10c277f7dc5e4b863d809b3ffeed8586db
src/app_mgr.c
patch
|
blob
|
history
diff --git
a/src/app_mgr.c
b/src/app_mgr.c
index 07cd317607e97ae1c8bf42af311ac8c3463147c9..47200649af3d89005c304df3f229dadb67f8219f 100644
(file)
--- a/
src/app_mgr.c
+++ b/
src/app_mgr.c
@@
-234,6
+234,12
@@
static void __app_mgr_event_cb(const char *type, const char *package,
}
app_mgr_item = __app_mgr_load_item_info(ai_handle);
+ if (!app_mgr_item) {
+ LOGE("Failed to load app mgr item info");
+ app_info_destroy(ai_handle);
+ return;
+ }
+
item = data_model_install_application(app_mgr_item);
if (!item) {
LOGE("Failed to create app item");