Re: [clamav-users] freshclam in clamav 0.102.2 stuck in cli_tgzload

2020-03-21 Thread Gary R. Schmidt
On 22/03/2020 09:18, Pierluigi Frullani via clamav-users wrote: Hi Mark   thanks for your input. Didn't work though :( I've put a bit of debug messages to see where it is passing and it always pass in the "compr" check:         pad = size % TAR_BLOCKSIZE ? (TAR_BLOCKSIZE - (size % TAR_BLOCK

[clamav-users] Setting up a private local mirror

2020-03-21 Thread Scott A. Wozny via clamav-users
I know this process is described in https://www.clamav.net/documents/private-local-mirrors but I had some additional questions. First, assuming I am choosing option 2 (serve CVD files from a local web server) when it says, “let freshclam download the *.cvd files from http://database.clamav.net

Re: [clamav-users] freshclam in clamav 0.102.2 stuck in cli_tgzload

2020-03-21 Thread Pierluigi Frullani via clamav-users
Hi Mark thanks for your input. Didn't work though :( I've put a bit of debug messages to see where it is passing and it always pass in the "compr" check: pad = size % TAR_BLOCKSIZE ? (TAR_BLOCKSIZE - (size % TAR_BLOCKSIZE)) : 0; if (compr) { if (off == gzseek(dbio->gz

Re: [clamav-users] freshclam in clamav 0.102.2 stuck in cli_tgzload

2020-03-21 Thread Mark Fortescue via clamav-users
Hi Pierluigi, Had a quick look at an older version of the code. It probably has not changed too much. To loop as described, it means that fseek() and ftell() are not working properly in libclamav/cvd.c. Just looking at the definitions of the types, there may be an issue with 'size' and 'pa

Re: [clamav-users] freshclam in clamav 0.102.2 stuck in cli_tgzload

2020-03-21 Thread Pierluigi Frullani via clamav-users
I've tried to understand better where is stuck. The problem is in cli_tgzload ( and that was the easy part ): during the while loop I see that it continuously loop on: LibClamAV debug: cli_tgzload: Loading COPYING, size: 17992 LibClamAV debug: cli_tgzload: Loading COPYING, size: 17992 Any idea