mirror of
https://github.com/xroche/httrack.git
synced 2026-05-17 08:26:14 +03:00
Fixed buffer overflow in output option commandline argument (VL-ID 2068) (Hosein Askari)
This commit is contained in:
@@ -2996,7 +2996,7 @@ static int hts_main_internal(int argc, char **argv, httrackp * opt) {
|
||||
}
|
||||
}
|
||||
|
||||
strcpy(n_lock,
|
||||
strcpybuff(n_lock,
|
||||
fconcat(OPT_GET_BUFF(opt), OPT_GET_BUFF_SIZE(opt), StringBuff(opt->path_log),
|
||||
"hts-in_progress.lock"));
|
||||
//sprintf(n_lock,fconcat(OPT_GET_BUFF(opt), StringBuff(opt->path_log),"hts-in_progress.lock"),n);
|
||||
|
||||
Reference in New Issue
Block a user