From: Patrik Flykt <patrik.fl...@linux.intel.com> --- vpn/vpn-provider.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/vpn/vpn-provider.c b/vpn/vpn-provider.c index 4c9fa15..56a9c51 100644 --- a/vpn/vpn-provider.c +++ b/vpn/vpn-provider.c @@ -1595,6 +1595,9 @@ static void provider_create_all_from_type(const char *provider_type) providers = __connman_storage_get_providers(); + if (providers == NULL) + return; + for (i = 0; providers[i] != NULL; i+=1) { if (strncmp(providers[i], "provider_", 9) != 0) -- 1.7.10.4 _______________________________________________ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman