projects
/
platform
/
core
/
appfw
/
component-based-application.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f300be
)
Fix static analysis issue
95/271195/1
author
Hwankyu Jhun
<h.jhun@samsung.com>
Thu, 17 Feb 2022 00:20:39 +0000
(09:20 +0900)
committer
Hwankyu Jhun
<h.jhun@samsung.com>
Thu, 17 Feb 2022 00:20:39 +0000
(09:20 +0900)
- Fix FOWARD_NULL issue
Change-Id: I46dd4b554e98a2f90ae5424b16851cfc2f145d09
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
component_based/base/application_base.cc
patch
|
blob
|
history
diff --git
a/component_based/base/application_base.cc
b/component_based/base/application_base.cc
index e57cdb5665dd8cdec03ab53a4f3906e1b37aab58..6e5c0504aeef6d66ab7944d124106d51b1122cac 100644
(file)
--- a/
component_based/base/application_base.cc
+++ b/
component_based/base/application_base.cc
@@
-134,6
+134,9
@@
int ApplicationBase::OnReceive(aul_type type, tizen_base::Bundle b) {
}
LOGD("component(%s), instance(%s)", comp_id.c_str(), inst_id.c_str());
+ } else {
+ LOGE("Invalid request");
+ return -1;
}
switch (type) {