[ibr@ata.cs.hun.edu.tr: Bug#191247: libgcrypt1: mutt dies with bus error while accessing imap over tls]

Nikos Mavroyanopoulos nmav@gnutls.org
Mon, 5 May 2003 20:11:59 +0300


On Sun, May 04, 2003 at 10:37:28PM +0200, Ivo Timmermans wrote:

> Program received signal SIGBUS, Bus error.
> do_encrypt (ctx=0x16c0b0, b=0x0,
>     a=0xefffd2d5 "5\213]'\tD?\027\t??\225m/?'?=\031\201P?p??;???\005?",
>     '' <repeats 164 times>...) at rijndael.c:1878
> 1878        *((u32*)temp[0]) = *((u32*)(a   )) ^ *((u32*)rk[0][0]);

It seems like an alignment problem. A fix might be replacing
the byte temp[4][4], with u32 temp[4] and casting the other
way round.

-- 
Nikos Mavroyanopoulos