HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: Bug in HTTrack %L option to include URLs from file
Author: Xavier Roche
Date: 07/07/2002 17:07
 
> This bug (or my mistake?) also occurs in Version 3.15:
> When including a file with a list of URLs, HTTTrack adds 
> cryptic fragments of local system information to the URL!

(Stupid) bug found, and fixed for the upcoming RC4 (darn, 
there are still remaining bugs..)

In htscore.c, line 765:

            if ((int)fread(filelist_buff,1,filelist_sz,fp) !
= filelist_sz) {
              freet(filelist_buff);
              filelist_buff=NULL;
            }

shabe changed into a safer version:

            if ((int)fread(filelist_buff,1,filelist_sz,fp) !
= filelist_sz) {
              freet(filelist_buff);
              filelist_buff=NULL;
            } else {
              *(filelist_buff + filelist_sz) = '\0';
            }

 
Reply Create subthread


All articles

Subject Author Date
Bug in HTTrack %L option to include URLs from file

07/07/2002 01:58
Re: Bug in HTTrack %L option to include URLs from file

07/07/2002 17:07




1

Created with FORUM 2.0.11