projects
/
platform
/
core
/
connectivity
/
net-config.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4fccc4
)
[Fix] NULL_AFTER_DEREF
05/150105/1
accepted/tizen/4.0/unified/20170920.081556
submit/tizen_4.0/20170918.114848
author
Taesoo Jun
<steve.jun@samsung.com>
Thu, 14 Sep 2017 08:50:56 +0000
(17:50 +0900)
committer
Taesoo Jun
<steve.jun@samsung.com>
Thu, 14 Sep 2017 08:52:59 +0000
(08:52 +0000)
Change-Id: Ifb34cf54b4293f34799ccf0d10f3f3fa3c16e0bc
src/wifi-indicator.c
patch
|
blob
|
history
diff --git
a/src/wifi-indicator.c
b/src/wifi-indicator.c
index
cb138f2
..
e788e65
100755
(executable)
--- a/
src/wifi-indicator.c
+++ b/
src/wifi-indicator.c
@@
-91,6
+91,11
@@
static int __netconfig_wifi_update_and_get_rssi(void)
g_variant_get(message, "(v)", &value);
g_variant_get(value, "a{sv}", &iter);
+ if (iter == NULL) {
+ ERR("Fail to get list from SignalPoll");
+ return 0;
+ }
+
while (g_variant_iter_loop(iter, "{sv}", &key, &variant)) {
key_value = g_variant_get_int32(variant);