NetBSD Problem Report #28587
From njoly@pasteur.fr Wed Dec 8 13:57:08 2004
Return-Path: <njoly@pasteur.fr>
Received: from electre.pasteur.fr (electre.pasteur.fr [157.99.64.120])
by narn.netbsd.org (Postfix) with ESMTP id 62036251F26
for <gnats-bugs@gnats.NetBSD.org>; Wed, 8 Dec 2004 13:57:07 +0000 (UTC)
Message-Id: <20041208135705.6D25015D90@thanos.sis.pasteur.fr>
Date: Wed, 8 Dec 2004 14:57:05 +0100 (CET)
From: njoly@pasteur.fr
Reply-To: njoly@pasteur.fr
To: gnats-bugs@netbsd.org
Subject: clamav unaligned access warnings on alpha
X-Send-Pr-Version: 3.95
>Number: 28587
>Category: pkg
>Synopsis: clamav unaligned access warnings on alpha
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 08 14:00:00 +0000 2004
>Closed-Date: Thu Nov 05 08:12:15 +0000 2020
>Last-Modified: Thu Nov 05 08:12:15 +0000 2020
>Originator: Nicolas Joly
>Release: NetBSD 2.99.11
>Organization:
Institut Pasteur
>Environment:
System: NetBSD thanos.sis.pasteur.fr 2.99.11 NetBSD 2.99.11 (THANOS) #10: Mon Dec 6 11:17:29 CET 2004 njoly@thanos.sis.pasteur.fr:/local/src/NetBSD/obj/alpha/sys/arch/alpha/compile/THANOS alpha
Architecture: alpha
Machine: alpha
>Description:
clamscan may generate `unaligned access' warnings, while scanning PE
executables.
I tracked this problem and found at least 2 different locations, that may
trigger this problem:
* cli_readint32() function (libclamav/others.c:502):
ret = *(int32_t *) buff;
* doubleebx() function (libclamav/upx.c:77):
*myebx = oldebx*2+1;
>How-To-Repeat:
njoly@thanos [~/virus]> clamscan -V
ClamAV 0.80/621/Tue Dec 7 13:55:16 2004
njoly@thanos [~/virus]> clamscan --no-summary 2k.exe
pid 1219 (clamscan): unaligned access: va=0x1ffffe00a pc=0x160073a90 ra=0x16009581c sp=0x1ffffddf8 op=ldl
2k.exe: Trojan.LdPinch-19 FOUND
njoly@thanos [~/virus]> clamscan --no-summary under.bat
pid 1346 (clamscan): unaligned access: va=0x120026615 pc=0x16009fab4 ra=0x16009f
b48 sp=0x1ffffdda0 op=ldl
pid 1346 (clamscan): unaligned access: va=0x120026619 pc=0x16009fab4 ra=0x16009f
b9c sp=0x1ffffdda0 op=ldl
pid 1346 (clamscan): unaligned access: va=0x12002661d pc=0x16009fab4 ra=0x16009f
b9c sp=0x1ffffdda0 op=ldl
[...]
pid 1346 (clamscan): unaligned access: va=0x1200267f1 pc=0x16009fab4 ra=0x1600a0
174 sp=0x1ffffdd90 op=ldl
pid 1346 (clamscan): unaligned access: va=0x1200267f5 pc=0x16009fab4 ra=0x1600a0
1c0 sp=0x1ffffdd90 op=ldl
pid 1346 (clamscan): unaligned access: va=0x1200267f9 pc=0x16009fab4 ra=0x1600a0
19c sp=0x1ffffdd90 op=ldl
under.bat: OK
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->grant
Responsible-Changed-By: recht@netbsd.org
Responsible-Changed-When: Sun, 12 Dec 2004 17:09:00 +0000
Responsible-Changed-Why:
over to maintainer
Responsible-Changed-From-To: grant->pkg-manager
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sun, 21 Mar 2010 15:53:04 +0000
Responsible-Changed-Why:
Back to role account, grant lost his commit bit.
State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Thu, 05 Nov 2020 08:12:15 +0000
State-Changed-Why:
clamav has received hundreds of updates in the meantime, as has
netbsd itself. Please speak up in the unlikely case that this is
still a problem. Sorry your issue was not addressed at the time.
>Unformatted:
(Contact us)
$NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.