HTTrack Website Copier
Free software offline browser - FORUM
Subject: patch for httrack-3.43-8
Author: Toni
Date: 01/01/2010 15:14
 
Hi,

I packaged httrack for openSuSE:
<http://packman.links2linux.de/package/httrack>

for the new gcc >= 4.3 it needs a patch (bufferoverflow)
I: Statement is overflowing a buffer
E: httrack bufferoverflow htscoremain.c:1610

I patched it this way:
@@ -1606,7 +1606,7 @@
               break;
             case '~': /* internal lib test */
               {
-                char thisIsATestYouShouldSeeAnError[12];
+                char thisIsATestYouShouldSeeAnError[256];
                 strcpybuff(thisIsATestYouShouldSeeAnError,
"0123456789012345678901234567890123456789");
                 return 0;
               }

and a second question according linhttrack-swf:
is this prject dead ? or there can I get the newest sources ?
happy new year
Toni
 
Reply


All articles

Subject Author Date
patch for httrack-3.43-8

01/01/2010 15:14
Re: patch for httrack-3.43-8

01/01/2010 15:38
Re: patch for httrack-3.43-8

01/01/2010 15:56
Re: patch for httrack-3.43-8

01/01/2010 16:03




a

Created with FORUM 2.0.11