Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2013 17:07:44 GMT
From:      Henry Jalonen <henkka@spheroid.fi>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/182975: clamav-0.98 unable to verify database integrity
Message-ID:  <201310141707.r9EH7i7u070573@oldred.freebsd.org>
Resent-Message-ID: <201310141710.r9EHA0TJ015799@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         182975
>Category:       ports
>Synopsis:       clamav-0.98 unable to verify database integrity
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 14 17:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Henry Jalonen
>Release:        9.1-RELEASE-p5
>Organization:
>Environment:
sparc64
>Description:
As reported on clamav bugzilla issue 9115 <https://bugzilla.clamav.net/show_bug.cgi?id=9115>, libclamav verification code has changed and database verification fails (at least) on sparc64. 

The fix is targeted for 0.98.1 upstream release.
>How-To-Repeat:
Install clamav-0.98_1 on sparc64, run freshclam
>Fix:
Proposed patch attached (works for me, at least).

Patch attached with submission follows:

--- libclamav/bignum_fast.h.orig  2013-10-14 19:27:14.000000000 +0300
+++ libclamav/bignum_fast.h       2013-10-14 19:28:02.000000000 +0300
@@ -249,7 +249,7 @@
       typedef signed long long   long64;
    #endif
 #endif
-   typedef unsigned long      fp_digit;
+   typedef unsigned int       fp_digit;
    typedef ulong64            fp_word;
 #endif


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310141707.r9EH7i7u070573>