정수 오버플로우 방지

pull/540/head
root 2021-11-28 08:59:26 +00:00
parent 8a1d532e15
commit 90f3a5cec0
1 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,10 @@ int main(int argc, char *argv[])
int64_t file_offset;
int64_t download_bytes;
if(argc<0)
{
return NULL;
}
if (argc < 3)
{
printf("Usage: %s <config_file> <file_id> " \