projects
/
platform
/
core
/
appfw
/
wgt-backend.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9eda86
)
Fix crash when parsing icon info from wgt archive
46/131946/1
accepted/tizen/3.0/common/20170605.123907
accepted/tizen/3.0/ivi/20170605.014953
accepted/tizen/3.0/mobile/20170605.014903
accepted/tizen/3.0/tv/20170605.014921
accepted/tizen/3.0/wearable/20170605.014937
submit/tizen_3.0/20170601.102336
author
Sangyoon Jang
<jeremy.jang@samsung.com>
Wed, 24 May 2017 05:38:17 +0000
(14:38 +0900)
committer
jongmyeong ko
<jongmyeong.ko@samsung.com>
Wed, 31 May 2017 09:32:59 +0000
(09:32 +0000)
Change-Id: Ifa4866a495af0764be72eb4e5d68d016642b931f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
(cherry picked from commit
c2fd87783a4f43f8e11f0bfb5f5144b737cb0e55
)
src/lib/wgt_archive_info.cc
patch
|
blob
|
history
diff --git
a/src/lib/wgt_archive_info.cc
b/src/lib/wgt_archive_info.cc
index
eb508e1
..
205ba5f
100644
(file)
--- a/
src/lib/wgt_archive_info.cc
+++ b/
src/lib/wgt_archive_info.cc
@@
-164,7
+164,7
@@
std::string GetIconInfo(const wgt::parse::WidgetConfigParser& parser) {
auto icons_info =
std::static_pointer_cast<const wgt::parse::ApplicationIconsInfo>(
parser.GetManifestData(wgt::parse::ApplicationIconsInfo::Key()));
- if (!icons_info)
+ if (!icons_info
|| icons_info->icons().empty()
)
return {};
return std::string(icons_info->icons().front().path());