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

2006-08-16 Thread Ben Lull
: 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

[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