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
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
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
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
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