gnutls-devel
[Top][All Lists]
Advanced

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

Re: gnutls 2.3.11 testsuite failure on sparc (openpgpself)


From: Nikos Mavrogiannopoulos
Subject: Re: gnutls 2.3.11 testsuite failure on sparc (openpgpself)
Date: Wed, 04 Jun 2008 19:57:45 +0300
User-agent: Thunderbird 2.0.0.14 (X11/20080505)

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/libc-2.7.so)
> ==18506==    by 0x4183079: vfprintf (in /lib/i686/cmov/libc-2.7.so)
> ==18506==    by 0x41A0E9B: vsprintf (in /lib/i686/cmov/libc-2.7.so)
> ==18506==    by 0x418B24D: sprintf (in /lib/i686/cmov/libc-2.7.so)
> ==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.

regards,
Nikos




reply via email to

[Prev in Thread] Current Thread [Next in Thread]