[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#633458: gcc-4.6 miscompiles libgcrypt11 on armel



On 2011-07-10 Andreas Metzler <ametzler@downhill.at.eu.org> wrote:
> Package: gcc-4.6
> Version: 4.6.1-1
> Severity: normal
> Blocks: 633373

> gcc-4.6 seems to miscompile libgcrypt11 on armel, causing total
> failure of gnutls26.

> -------------------------------
> (sid)ametzler@abel:~/GNUTLS$ ~/GNUTLS/2.10.5-2/usr/bin/gnutls-cli db.debian.org Resolving 'db.debian.org'...
> Connecting to '82.195.75.106:443'...
> *** Fatal error: Decryption has failed.
> *** Handshake has failed
> GnuTLS error: Decryption has failed.
> -------------------------------
[...]

Building with -fno-strict-aliasing does not help. running gnutls-cli
with debugging provides a little bit more info on the code triggering
the issue:

[...]
|<7>| RB: Requested 53 bytes
|<2>| ASSERT: gnutls_cipher.c:530
|<4>| REC[0x2e338]: Short record length 166 > 48 - 20 (under attack?)
[...]

cu andreas



Reply to: