OK removed everything in /usr/local/lib and reinstalled. Still segfaults. Here is /usr/local/lib contents.

drwxr-xr-x 2 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-xr-x 1 root root 740 Feb 13 08:19 libclamav.la
lrwxrwxrwx 1 root root 18 Feb 13 08:19 libclamav.so -> libclamav.so.1.0.3
lrwxrwxrwx 1 root root 18 Feb 13 08:19 libclamav.so.1 -> libclamav.so.1.0.3
-rwxr-xr-x 1 root root 356830 Feb 13 08:19 libclamav.so.1.0.3


It's actually crashing on this instruction at the bottom of str.c
   buffer = malloc(j-i+1);
where j=250 and i=79

The strange thing is that this is the second time it has gone through this routine with exactly the same input!
Oh well, I'm learning something about C in the process. I'm getting another programmer to check it out.


Also this machine had RedHat 9 installed as an upgrade from a partial RedHat 8, so something may be missing!

Cheers
Bill

Tomasz Kojm wrote:



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/lib
and reinstall 0.66.

Best regards,
Tomasz Kojm




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to