Oscar Usifer wrote:
Please see clamav-0.93.3/libclamav/readdb.c:460 sigs++;From static int cli_loaddb() :475 if(signo) 476 *signo += sigs; s/b 475 if (sigs == 0) 476 return CL_EMALFDB; 477 478 if(signo) 479 *signo += sigs;
Oscar,I don't know if this is really necessary. A malformed DB file should be caught by other checks above this. One could potentially have a DB file with no signatures... could be a possibility. ie: main.cld is updated and daily.cld gets signatures cleared but no update yet.
The user was experiencing a total signature count of zero. So a check after loading all db files for a total count that is above 0 may be in order.
James
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml