| > While running on www.loc.gov, HTTrack crashed. Here's the
> error message from CRASH.TXT:
> HTTrack 3.29.31 closed at 'htsback.c', line 2779
> Reason:
> assert failed: (s)[sizeof(s) - 1] == '
Thanks very much - I have fixed this problem on 3.30.31 ; a
new release will be soon (probably saturday) releasd.
Here's the patch:
--- /temp/httrack-3.29.32/src/htsback.c Sat Aug 2 16:34:17
2003
+++ new/htsback.c Wed Aug 6 19:55:35 2003
@@ -2773,7 +2773,7 @@
// j: 1 afficher sockets 2 afficher autres 3 tout afficher
void back_info(lien_back* back,int i,int j,FILE* fp) {
if (back[i].status>=0) {
- char s[256];
+ char s[HTS_URLMAXSIZE*2+1024];
s[0]='\0';
back_infostr(back,i,j,s);
strcatbuff(s,LF);
@@ -2859,7 +2859,7 @@
if (aff) {
{
- char s2[1024];
+ char s2[HTS_URLMAXSIZE*2+1024];
sprintf(s2,"\"%s",back[i].url_adr); strcatbuff
(s,s2);
if (back[i].url_fil[0]!='/') strcatbuff(s,"/");
| |