Re: [Clamav-users] libclamav segfaulting when scanning infected files

2006-08-16 Thread Ben Lull
I actually caught that already and changed it. Still getting the same problem. I was using cl_build() first however I switched over to cl_buildtrie() to see if that would make a difference. No luck with either ones being changed. - Ben On Wed, 2006-08-16 at 08:11 -0400, Brian Bebeau wrote: >

Re: [Clamav-users] libclamav segfaulting when scanning infected files

2006-08-16 Thread Brian Bebeau
Ben Lull wrote: Hello, I recently wrote a program which uses libclamav. However, whenever I scan an infected file (archive, plain file, etc..) the call to cl_scanfile() segfaults. When I scan a clean file, there is no problem. I'm guessing this has something to do with how I'm init'ing the vir

Re: [Clamav-users] libclamav segfaulting when scanning infected files

2006-08-16 Thread Nigel Horne
Ben Lull wrote: Hello, I recently wrote a program which uses libclamav. However, whenever I scan an infected file (archive, plain file, etc..) the call to cl_scanfile() segfaults. When I scan a clean file, there is no problem. I'm guessing this has something to do with how I'm init'ing the vir

[Clamav-users] libclamav segfaulting when scanning infected files

2006-08-15 Thread Ben Lull
Hello, I recently wrote a program which uses libclamav. However, whenever I scan an infected file (archive, plain file, etc..) the call to cl_scanfile() segfaults. When I scan a clean file, there is no problem. I'm guessing this has something to do with how I'm init'ing the virus database, but t