use safe_strcpy to prevent buffer overflow

fixes CID 27938 found by Coverity
This commit is contained in:
Christian Beer 2015-10-21 16:59:32 +02:00
parent 9aea04fe22
commit 145942cbb3
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ int main(int argc, char** argv) {
}
INFILE_DESC id;
id.is_remote = false;
strcpy(id.name, argv[i]);
safe_strcpy(id.name, argv[i]);
jd.infiles.push_back(id);
}
i++;