Fixed Svace issue(WGID:31189) 31/60931/1 accepted/tizen_tv accepted/tizen/common/20160310.081552 accepted/tizen/ivi/20160310.060231 accepted/tizen/mobile/20160310.060112 accepted/tizen/tv/20160310.060137 accepted/tizen/wearable/20160310.060207 submit/tizen/20160309.073851
authorGilbok Lee <gilbok.lee@samsung.com>
Wed, 2 Mar 2016 10:30:04 +0000 (19:30 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Wed, 2 Mar 2016 10:30:04 +0000 (19:30 +0900)
Change-Id: I8ffa7eda739ae152dc262649cf6ce1ea9835a96a
Signed-off-by: Gilbok Lee <gilbok.lee@samsung.com>
test/radio_test.c

index 625145f..de514b7 100755 (executable)
@@ -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;
        }