increase buffer size to fix string overflow

fixes CID 27885 found by Coverity
This commit is contained in:
Christian Beer 2015-10-20 19:29:48 +02:00
parent bde03875cc
commit cbbb2d738b
1 changed files with 1 additions and 1 deletions

View File

@ -552,7 +552,7 @@ static int get_priority(bool is_high_priority) {
// If "test" is set, we're doing the API test; just run "test_app".
//
int ACTIVE_TASK::start(bool test) {
char exec_name[256], file_path[MAXPATHLEN], buf[256], exec_path[MAXPATHLEN];
char exec_name[256], file_path[MAXPATHLEN], buf[MAXPATHLEN], exec_path[MAXPATHLEN];
char cmdline[80000]; // 64KB plus some extra
unsigned int i;
FILE_REF fref;