From 7d63d4025c3307df605b4f1d1a7777376fef183b Mon Sep 17 00:00:00 2001 From: Nishant Chaprana Date: Sun, 20 Sep 2020 16:15:49 +0530 Subject: [PATCH] Use proper array size as required by scanf string specifier Change-Id: Iad3f69c691ee4b910aea2998746ffdf9a44ecb21 Signed-off-by: Nishant Chaprana --- packaging/capi-network-connection.spec | 2 +- test/connection_test.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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"); -- 2.7.4