[TSAM-14049] fix null pointer reference 55/159955/1 accepted/tizen_3.0_common accepted/tizen_3.0_mobile accepted/tizen_3.0_tv accepted/tizen_3.0_wearable tizen_3.0 accepted/tizen/3.0/common/20171117.121648 accepted/tizen/3.0/mobile/20171117.023140 accepted/tizen/3.0/tv/20171117.023144 accepted/tizen/3.0/wearable/20171117.023148 submit/tizen_3.0/20171114.041925
authorSeonah Moon <seonah1.moon@samsung.com>
Tue, 14 Nov 2017 02:13:59 +0000 (11:13 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Tue, 14 Nov 2017 02:14:18 +0000 (11:14 +0900)
Change-Id: I7216d4a0438249da3d4e092e8e6b9152bc81dc0a
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com
packaging/net-config.spec
src/signal-handler.c

index c841d95..dedbfcb 100755 (executable)
@@ -1,6 +1,6 @@
 Name:          net-config
 Summary:       TIZEN Network Configuration service
-Version:       1.1.103
+Version:       1.1.104
 Release:       2
 Group:         System/Network
 License:       Apache-2.0
index 616448c..08d5f04 100755 (executable)
@@ -373,7 +373,7 @@ static void _services_changed_cb(GDBusConnection *conn, const gchar *name,
                is_cell_internet_prof = netconfig_is_cellular_internet_profile(
                                service_path);
                if (service_path != NULL) {
-                       while (g_variant_iter_loop(next, "{sv}", &property,
+                       while (next && g_variant_iter_loop(next, "{sv}", &property,
                                                &variant)) {
                                if (g_strcmp0(property, "State") == 0) {
                                        g_variant_get(variant, "s", &value);