summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehyun Kim <jeik01.kim@samsung.com>2022-01-21 17:38:39 +0900
committerJaehyun Kim <jeik01.kim@samsung.com>2022-01-21 17:38:39 +0900
commitcb44445ef9d0efad53051e796ecfa7c42add5d78 (patch)
tree9ee83e6602578c7f08c10003583e0931f56c7692
parent75fa47a8b0cd69f44b973d1217bab66c1f2426d3 (diff)
downloadconnman-submit/tizen/20220125.082819.tar.gz
connman-submit/tizen/20220125.082819.tar.bz2
connman-submit/tizen/20220125.082819.zip
Change-Id: I7d49d35c42e7550f42007935859609adbb938d51 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
-rwxr-xr-xsrc/network.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/network.c b/src/network.c
index d71b419f..ed05a52a 100755
--- a/src/network.c
+++ b/src/network.c
@@ -560,6 +560,10 @@ static int set_connected_manual(struct connman_network *network)
ipconfig = __connman_service_get_ip4config(service);
__connman_ipconfig_enable(ipconfig);
+#if defined TIZEN_EXT
+ if (!service || !ipconfig)
+ return -EINVAL;
+#endif
if (!__connman_ipconfig_get_local(ipconfig))
__connman_service_read_ip4config(service);