delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/11/19/17:32:30

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=taitGLeyr9JRsQY7ON0Ibwwl+wbmYruC4onlFSmPA8P
0KJm4dRBjzLbtHwEHsRRVLoYVm/wvFlVozKfq2UzRmZ/mXyaB5jzxUtqGGZLwGFh
R6sdB2r0ttdVpH8Liwu7mu/mFRr8Bp/RLxw3qw71uKGSeP7tYze/NWV8RkosMtQ0
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=MIgXBAIFHx2AqtLPu/BE9Y5stRM=; b=QpoW+bjJ6bqcuVMjA
RxIcFB7hDoNf7XOFuVFxPQ0e0SkvZYROMkFgnSXf0aOyEGkSsBwlM2KpbW9g2FaO
mYOdQ+abIjL0DFmd46DurC9Djj7ppvaqSXvuIdMO5kokLf9vyanGLOvHM5Xvu3b/
AqioA4bwE0FSrRHs0fcYHr9hG8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wg0-f54.google.com
X-Received: by 10.180.76.136 with SMTP id k8mr7171784wiw.74.1416436326495; Wed, 19 Nov 2014 14:32:06 -0800 (PST)
Message-ID: <546D1A62.1000705@gmail.com>
Date: Wed, 19 Nov 2014 23:32:02 +0100
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: zlib-1.2.8-2 breaks clamav [attn Yaakov]
References: <54557B6F DOT 3050105 AT redhat DOT com> <546D0AF4 DOT 2080903 AT gmail DOT com>
In-Reply-To: <546D0AF4.2080903@gmail.com>
X-IsSubscribed: yes

On 11/19/2014 10:26 PM, Marco Atzeri wrote:
>
>
> On 11/2/2014 1:31 AM, Mike Bonnet wrote:
>> Hi.  I just found out that the zlib-1.2.8-2 breaks clamav.  A log of the
>> output of the "sigtool" commmand from clamav is attached.  It's using
>> gzread() to read the compressed signature databases, and the format of
>> the data returned has apparently changed between zlib 1.2.8-1 and
>> 1.2.8-2.  This should be fixed ASAP.
>>
>> Thanks,
>> Mike
>>
>
> just tested 64bit and
>
> $ sigtool --debug --info main.cvd
> File: main.cvd
> Build time: 17 Sep 2013 10:57 -0400
> Version: 55
> Signatures: 2424225
> Functionality level: 60
> Builder: neo
> MD5: 6c03be24ae2171478e0de317e3661e36
> Digital signature:
> U44YuTP7vNpU3sZVfI54S78bkaJluqmkJCFX8skaNcNUPoTLnTxXtSuOwWufwn+M+21kGR0CO7hvU3K+44YuOA92rMNNNmKOJOnli+lGv972THU2dkCL+491C6Y4Q+169wIW+Zp/TyH93yt75qGv8vanBM1QdyXk8fnDvsOlC4
>
> LibClamAV debug: Initialized 0.97.8 engine
> LibClamAV debug: in cli_cvdload()
> LibClamAV debug: MD5(.tar.gz) = 6c03be24ae2171478e0de317e3661e36
> LibClamAV debug: cli_versig: Decoded signature:
> 6c03be24ae2171478e0de317e3661e36
> LibClamAV debug: cli_versig: Digital signature is correct.
> LibClamAV debug: in cli_tgzload()
> LibClamAV debug: main.info loaded
> LibClamAV debug: in cli_tgzload()
> LibClamAV debug: Cleaning up phishcheck
> LibClamAV debug: Phishcheck cleaned up
> Verification OK.
>
> it works as expected.

the issue seems only on 32 bit

on 32 bit database

$  sigtool --debug --info main.cvd
File: main.cvd
Build time: 11 Oct 2011 10:34 -0400
Version: 54
Signatures: 1044387
Functionality level: 60
Builder: sven
MD5: ef015484e18b983ddf08425e2dad6a3f
Digital signature: 
WOgEPNPkB4L0W5K9p1Wc+TE9DQOctxVBHGoR4pTqupMF6kJEVukelj0SPR6jTyczszfodstR+HPHG8mHjkvEtLzmmAz8WflU8vlf/XYW8Gjc6QuEetMN7yNy4JditkLVWCb/nf0gD943JTQ6lI+t7IoSqEk04jQncQ7nwNLIcZd
LibClamAV debug: Initialized 0.97.8 engine
LibClamAV debug: in cli_cvdload()
LibClamAV debug: MD5(.tar.gz) = ef015484e18b983ddf08425e2dad6a3f
LibClamAV debug: cli_versig: Decoded signature: 
ef015484e18b983ddf08425e2dad6a3f
LibClamAV debug: cli_versig: Digital signature is correct.
LibClamAV debug: in cli_tgzload()
LibClamAV debug: main.info loaded
LibClamAV debug: in cli_tgzload()
LibClamAV Error: cli_tgzload: Unknown type flag 'd'
LibClamAV debug: Cleaning up phishcheck
LibClamAV debug: Phishcheck cleaned up
ERROR: cvdinfo: Verification: Malformed database

on 64bit database

$  sigtool --debug --info main.cvd
File: main.cvd
Build time: 17 Sep 2013 10:57 -0400
Version: 55
Signatures: 2424225
Functionality level: 60
Builder: neo
MD5: 6c03be24ae2171478e0de317e3661e36
Digital signature: 
U44YuTP7vNpU3sZVfI54S78bkaJluqmkJCFX8skaNcNUPoTLnTxXtSuOwWufwn+M+21kGR0CO7hvU3K+44YuOA92rMNNNmKOJOnli+lGv972THU2dkCL+491C6Y4Q+169wIW+Zp/TyH93yt75qGv8vanBM1QdyXk8fnDvsOlC4
LibClamAV debug: Initialized 0.97.8 engine
LibClamAV debug: in cli_cvdload()
LibClamAV debug: MD5(.tar.gz) = 6c03be24ae2171478e0de317e3661e36
LibClamAV debug: cli_versig: Decoded signature: 
6c03be24ae2171478e0de317e3661e36
LibClamAV debug: cli_versig: Digital signature is correct.
LibClamAV debug: in cli_tgzload()
LibClamAV debug: main.info loaded
LibClamAV debug: in cli_tgzload()
LibClamAV Error: cli_tgzload: Unknown type flag 'b'
LibClamAV debug: Cleaning up phishcheck
LibClamAV debug: Phishcheck cleaned up
ERROR: cvdinfo: Verification: Malformed database


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019