[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mldonkey-users] static_tiger bus errors
From: |
Falk Hueffner |
Subject: |
Re: [Mldonkey-users] static_tiger bus errors |
Date: |
10 Feb 2004 11:44:12 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (cabbage) |
Bruno Saverio Delbono <address@hidden> writes:
> signal BUS (invalid address alignment) in static_tiger at 0x2d76b0
Looks like it's doing unaligned accesses on temp:
static void static_tiger(word64 *str, word64 length, word64 res[3])
{
...
unsigned char temp[64];
...
((word64*)(&(temp[56])))[0] = ((word64)length)<<3;
try replacing temp's declaration with
word64 temp_[64 / 8];
unsigned char *temp = (unsigned char *) temp_;
--
Falk