projects
/
platform
/
core
/
appfw
/
widget-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f32805
)
Fix DEREF NULL
94/167094/1
author
hyunho
<hhstark.kang@samsung.com>
Mon, 15 Jan 2018 09:15:12 +0000
(18:15 +0900)
committer
hyunho
<hhstark.kang@samsung.com>
Mon, 15 Jan 2018 09:15:12 +0000
(18:15 +0900)
Change-Id: I911b60359d1d9337f30dcff9af88385da238b440
Signed-off-by: hyunho <hhstark.kang@samsung.com>
src/widget_service.c
patch
|
blob
|
history
diff --git
a/src/widget_service.c
b/src/widget_service.c
index
aad837e
..
6c7c5ee
100644
(file)
--- a/
src/widget_service.c
+++ b/
src/widget_service.c
@@
-602,6
+602,11
@@
static int _resolution_update_from_file(void)
continue;
}
+ if (size_str == NULL) {
+ _E("sizen str is NULL");
+ continue;
+ }
+
if (sscanf(size_str, "%dx%d", &width, &height) != 2) {
_E("Invalid syntax: [%s]", size_str);
continue;