Page MenuHome GnuPG

misaligned accesses in rijndael.c
Closed, ResolvedPublic

Description

Environment

sparc64, hppa, probably others

Description

rijndael.c doesn't longword-align its 32-bit accesses.
Some architectures either segfault, or slow down *way* too much, when that happens.

How To Repeat

gnutls-cli-debug www.gmx.de

See Debian bug #259600.

Fix

Apply the attached patch.

Release Note

Fixed in 1.2.1

Event Timeline

Your patch is gcc specific. I developed a more C standard one. Please check it out.

Thanks for tracking down this problem.

werner removed a project: Restricted Project.

Fixed in 1.2.1, releases earlier.