projects
/
platform
/
core
/
api
/
vpn-setting.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce88138
)
[WGID-289372] Specify length in scanf
83/149483/1
accepted/tizen/unified/20170914.065449
submit/tizen/20170913.024954
author
chleun.moon
<chleun.moon@samsung.com>
Tue, 12 Sep 2017 09:24:59 +0000
(18:24 +0900)
committer
chleun.moon
<chleun.moon@samsung.com>
Tue, 12 Sep 2017 09:26:30 +0000
(18:26 +0900)
Change-Id: I5b37dd95f610f9d2c7a577d631984d262b7e1f1e
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
test/vpn_test.c
patch
|
blob
|
history
diff --git
a/test/vpn_test.c
b/test/vpn_test.c
index cebf075d4310fcc1d041355540960693fb7be848..32e4cfaacefe1978def54a91e424d1b178351bb0 100755
(executable)
--- a/
test/vpn_test.c
+++ b/
test/vpn_test.c
@@
-665,7
+665,7
@@
static char* __get_user_input(char *what)
char *value = NULL;
printf("Please ENTER %s:", what);
- if (scanf(" %[^\n]s", buf) < 0)
+ if (scanf(" %
127
[^\n]s", buf) < 0)
printf("Error in Reading the data to Buffer\n");
else
value = g_strdup(buf);