gnutls 2.3.11 testsuite failure on sparc (openpgpself)

Nikos Mavrogiannopoulos nmav at
Wed Jun 4 18:57:45 CEST 2008

Simon Josefsson wrote:

> FWIW, this seems to happen on my system as well, a normal x86 debian
> box.  Does it work on your machine?  There are valgrind errors, see
> below.

> ==18506== Use of uninitialised value of size 4
> ==18506==    at 0x4181141: (within /lib/i686/cmov/
> ==18506==    by 0x4183079: vfprintf (in /lib/i686/cmov/
> ==18506==    by 0x41A0E9B: vsprintf (in /lib/i686/cmov/
> ==18506==    by 0x418B24D: sprintf (in /lib/i686/cmov/
> ==18506==    by 0x40600D6: _gnutls_bin2hex (gnutls_str.c:265)
> ==18506==    by 0x406E19E: _gnutls_openpgp_privkey_to_gkey (gnutls_openpgp.c:731)

This one looks quite strange. Does the openpgpself fail to your system
as well? Does it still fail with my latest commit?

I'm afraid that when the gnutls_openpgp_keyid_t is passed on the stack
it has a pointer status, thus the sizeof() returns 4 instead of 8.
If I'm correct then my latest commit should fix this issue.


More information about the Gnutls-devel mailing list