Re: [Clamav-users] Trouble with ClamAV-0.66

2004-02-12 Thread Bill Maidment
Found the problem. We are using HTTPProxy parameters and the user was being corrupted. In freshclam/manager.c line 362 changed char* buf = mmalloc(strlen(user)*2+4); to char* buf = mmalloc(strlen(user)*2+5); to allow for the \0 to be added. Cheers Bill

Re: [Clamav-users] Trouble with ClamAV-0.66

2004-02-12 Thread Bill Maidment
More news. freshclam has segfaulted on one of my other machines. It seems to depend on which source of data is selected. At least one of the servers is sending the data undelimited (i.e. no \0 on the end) and so we get the data padded to 512 bytes with what looks like spaces. We still can't wor

Re: [Clamav-users] Trouble with ClamAV-0.66

2004-02-12 Thread Bill Maidment
OK removed everything in /usr/local/lib and reinstalled. Still segfaults. Here is /usr/local/lib contents. drwxr-xr-x2 root root 4096 Feb 13 08:19 . drwxr-xr-x 13 root root 4096 Aug 12 2003 .. -rw-r--r--1 root root 667906 Feb 13 08:19 libclamav.a -rwxr

Re: [Clamav-users] Trouble with ClamAV-0.66

2004-02-12 Thread Tomasz Kojm
On Thu, 12 Feb 2004 12:55:00 +1100 Bill Maidment <[EMAIL PROTECTED]> wrote: > More news. > I have tracked down the segfault to libclamav/str.c cli_strtok which It _shouldn't_ crash. I think for some reason it may be using an old libclamav version - please remove all *clamav* files from /usr/local

Re: [Clamav-users] Trouble with ClamAV-0.66

2004-02-12 Thread Kristof Hardy
I have tracked down the segfault to libclamav/str.c cli_strtok which is running off the end when called from cl_cvdparse looking for the digital signature. I am not a C programmer, but it looks like one or more of the servers has a malformed main.cvd which is breaking the 513 bytes allocated. Ok

Re: [Clamav-users] Trouble with ClamAV-0.66

2004-02-11 Thread Bill Maidment
More news. I have tracked down the segfault to libclamav/str.c cli_strtok which is running off the end when called from cl_cvdparse looking for the digital signature. I am not a C programmer, but it looks like one or more of the servers has a malformed main.cvd which is breaking the 513 bytes al

Re: [Clamav-users] Trouble with ClamAV-0.66

2004-02-11 Thread Bill Maidment
Ok, here's more info. freshclam is segfaulting. This is on a Celeron 1200 running RedHat 9. I have it working fine on an Athlon 600 RedHat 9 and on a Pentium III 1200 RedHat 7.2 Here's what I get when I run it non-daemon: ClamAV update process started at Thu Feb 12 10:07:53 2004 Connecting via

[Clamav-users] Trouble with ClamAV-0.66

2004-02-10 Thread Bill Maidment
Hi I've just upgraded 0.65 to 0.66 and hit a problem (I think with the proxy server settings). I moved the settings to the freshclam.conf, but I get stuck at ClamAV update process started at Wed Feb 11 14:52:22 2004 /usr/local/etc/freshclam.conf has # Proxy settings HTTPProxyServer squid HTTPP