Fix svace issues 34429 34414 92/61492/1 accepted/tizen/common/20160315.221300 accepted/tizen/ivi/20160315.003926 accepted/tizen/mobile/20160315.003841 accepted/tizen/tv/20160315.003854 accepted/tizen/wearable/20160315.003910 submit/tizen/20160314.225117
authortaesubkim <taesub.kim@samsung.com>
Tue, 8 Mar 2016 08:27:02 +0000 (17:27 +0900)
committertaesubkim <taesub.kim@samsung.com>
Tue, 8 Mar 2016 08:27:21 +0000 (17:27 +0900)
Change-Id: Id001554e80aa92ab61392e9c80caaefa9e9df961
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
packaging/capi-network-vpn-setting.spec
test/vpn_test.c

index 0c572a3..9d4e2f7 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-network-vpn-setting
 Summary:    Default VPN Library
-Version:    0.1.0_0
+Version:    0.1.0_1
 Release:    1
 Group:      System/Network
 License:    Apache-2.0
index 3ee6009..3c77ec2 100644 (file)
@@ -137,11 +137,11 @@ static void _test_get_vpn_handle(vpn_h *handle_ptr)
 
        printf("==================================\n");
        printf(" Please ENTER Host: ");
-       if (scanf(" %s", host_str) < 0)
+       if (scanf(" %127s", host_str) < 0)
                printf("Error in Reading Host String\n");
 
        printf(" Please ENTER Domain: ");
-       if (scanf(" %s", domain_str) < 0)
+       if (scanf(" %127s", domain_str) < 0)
                printf("Error in Reading Domain String\n");
 
        vpn_get_vpn_handle(host_str, domain_str, handle_ptr);