From: taesubkim Date: Tue, 3 May 2016 04:13:43 +0000 (+0900) Subject: [SVACE] 67131,67132 Fixed svace issues X-Git-Tag: submit/tizen/20160503.120331^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_3.0.m2_tv;p=platform%2Fcore%2Fapi%2Fvpn-setting.git [SVACE] 67131,67132 Fixed svace issues Change-Id: Iba101ceff7a1212f83a47271771c7760bd281804 Signed-off-by: Taesub Kim --- diff --git a/AUTHORS b/AUTHORS old mode 100644 new mode 100755 diff --git a/CMakeLists.txt b/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/ChangeLog b/ChangeLog old mode 100644 new mode 100755 diff --git a/LICENSE.APLv2 b/LICENSE.APLv2 old mode 100644 new mode 100755 diff --git a/NOTICE b/NOTICE old mode 100644 new mode 100755 diff --git a/capi-network-vpn-setting.pc.in b/capi-network-vpn-setting.pc.in old mode 100644 new mode 100755 diff --git a/dvpnlib/include/debug.h b/dvpnlib/include/debug.h old mode 100644 new mode 100755 diff --git a/dvpnlib/include/dvpnlib-common.h b/dvpnlib/include/dvpnlib-common.h old mode 100644 new mode 100755 diff --git a/dvpnlib/include/dvpnlib-internal.h b/dvpnlib/include/dvpnlib-internal.h old mode 100644 new mode 100755 diff --git a/dvpnlib/include/dvpnlib-vpn-connection.h b/dvpnlib/include/dvpnlib-vpn-connection.h old mode 100644 new mode 100755 diff --git a/dvpnlib/include/dvpnlib-vpn-manager.h b/dvpnlib/include/dvpnlib-vpn-manager.h old mode 100644 new mode 100755 diff --git a/dvpnlib/include/dvpnlib-vpn.h b/dvpnlib/include/dvpnlib-vpn.h old mode 100644 new mode 100755 diff --git a/dvpnlib/src/dvpnlib-vpn-connnection.c b/dvpnlib/src/dvpnlib-vpn-connnection.c old mode 100644 new mode 100755 index 93c28b0..a339fb3 --- a/dvpnlib/src/dvpnlib-vpn-connnection.c +++ b/dvpnlib/src/dvpnlib-vpn-connnection.c @@ -261,7 +261,10 @@ static void parse_connection_property_user_routes( if (g_variant_iter_n_children(&outer) == 0) return; - if (connection->user_routes) + if (connection->user_routes == NULL) { + ERROR("connection->server_routes is NULL"); + return; + } else g_slist_free_full(connection->user_routes, free_vpn_connection_route); @@ -322,7 +325,10 @@ static void parse_connection_property_server_routes( if (g_variant_iter_n_children(&outer) == 0) return; - if (connection->server_routes) + if (connection->server_routes == NULL) { + ERROR("connection->server_routes is NULL"); + return; + } else g_slist_free_full(connection->server_routes, free_vpn_connection_route); diff --git a/dvpnlib/src/dvpnlib-vpn-manager.c b/dvpnlib/src/dvpnlib-vpn-manager.c old mode 100644 new mode 100755 diff --git a/dvpnlib/src/dvpnlib-vpn.c b/dvpnlib/src/dvpnlib-vpn.c old mode 100644 new mode 100755 diff --git a/dvpnlib/src/dvpnlib.c b/dvpnlib/src/dvpnlib.c old mode 100644 new mode 100755 diff --git a/include/vpn.h b/include/vpn.h old mode 100644 new mode 100755 diff --git a/packaging/capi-network-vpn-setting.manifest b/packaging/capi-network-vpn-setting.manifest old mode 100644 new mode 100755 diff --git a/packaging/capi-network-vpn-setting.spec b/packaging/capi-network-vpn-setting.spec old mode 100644 new mode 100755 index bb9e28c..f9d2a40 --- a/packaging/capi-network-vpn-setting.spec +++ b/packaging/capi-network-vpn-setting.spec @@ -1,6 +1,6 @@ Name: capi-network-vpn-setting Summary: Default VPN Library -Version: 0.1.0_2 +Version: 0.1.0_3 Release: 1 Group: System/Network License: Apache-2.0 diff --git a/src/include/common.h b/src/include/common.h old mode 100644 new mode 100755 diff --git a/src/include/vpn-internal.h b/src/include/vpn-internal.h old mode 100644 new mode 100755 diff --git a/src/vpn-internal.c b/src/vpn-internal.c old mode 100644 new mode 100755 diff --git a/src/vpn.c b/src/vpn.c old mode 100644 new mode 100755 diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/test/vpn_test.c b/test/vpn_test.c old mode 100644 new mode 100755