From 1ea8fe523ae6a6b79d55c67ca32f15cc3e8b6fcb Mon Sep 17 00:00:00 2001 From: Gilbok Lee Date: Wed, 2 Mar 2016 19:30:04 +0900 Subject: [PATCH] Fixed Svace issue(WGID:31189) Change-Id: I8ffa7eda739ae152dc262649cf6ce1ea9835a96a Signed-off-by: Gilbok Lee --- test/radio_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/radio_test.c b/test/radio_test.c index 625145f..de514b7 100755 --- a/test/radio_test.c +++ b/test/radio_test.c @@ -320,7 +320,7 @@ int __menu(void) if (scanf("%d", &menu_item) == 0) { char temp[_MAX_INPUT_STRING_]; - if (scanf("%s", temp) == 0) + if (scanf("%100s", temp) == 0) printf("Error while flushing the input buffer - but lets continue\n"); return -1; } -- 2.7.4