Nigel Horne wrote:
>>>>>> Same here, the thing suddenly crashes every now and then...
>
>
> Try this patch and see if it helps in scanners.c:
> /* Scan metadata */
> mdata = root->zip_mlist;
> do {
> if(mdata->encrypted != encrypted)
> continue;
>
> Change to
>
> /* Scan metadata */
> mdata = root->zip_mlist;
> if(mdata) do {
> if(mdata->encrypted != encrypted)
> continue;
>
> I've seen instances of mdata == NULL which is not tested for. Then
> report back to here.
I've applied this patch and clamscan -r clamav-devel-latest now works as
expected (and much more quickly--the scan took 22 seconds this time).
--TWH
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html