Use proper array size as required by scanf string specifier 92/244492/1
authorNishant Chaprana <n.chaprana@samsung.com>
Sun, 20 Sep 2020 10:45:49 +0000 (16:15 +0530)
committerNishant Chaprana <n.chaprana@samsung.com>
Sun, 20 Sep 2020 10:45:49 +0000 (16:15 +0530)
Change-Id: Iad3f69c691ee4b910aea2998746ffdf9a44ecb21
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
packaging/capi-network-connection.spec
test/connection_test.c

index a4bb68f..69e3da9 100755 (executable)
@@ -1,6 +1,6 @@
 Name:          capi-network-connection
 Summary:       Network Connection library in TIZEN C API
-Version:       1.0.121
+Version:       1.0.122
 Release:       1
 Group:         System/Network
 License:       Apache-2.0
index 2e76e9a..5213018 100755 (executable)
@@ -2505,8 +2505,8 @@ int test_ethernet_eap_connect(void)
        bool enabled = false;
        int type = 0;
        int auth_type = 0;
-       char input_str1[100];
-       char input_str2[100];
+       char input_str1[130];
+       char input_str2[130];
        connection_profile_h profile;
 
        printf("\n** Choose a ethernet profile to connect. **\n");