From: Nishant Chaprana Date: Sun, 20 Sep 2020 10:45:49 +0000 (+0530) Subject: Use proper array size as required by scanf string specifier X-Git-Tag: accepted/tizen/6.0/unified/20201030.121303^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F92%2F244492%2F1;p=platform%2Fcore%2Fapi%2Fconnection.git Use proper array size as required by scanf string specifier Change-Id: Iad3f69c691ee4b910aea2998746ffdf9a44ecb21 Signed-off-by: Nishant Chaprana --- diff --git a/packaging/capi-network-connection.spec b/packaging/capi-network-connection.spec index a4bb68f..69e3da9 100755 --- a/packaging/capi-network-connection.spec +++ b/packaging/capi-network-connection.spec @@ -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 diff --git a/test/connection_test.c b/test/connection_test.c index 2e76e9a..5213018 100755 --- a/test/connection_test.c +++ b/test/connection_test.c @@ -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");