Date: Fri, 17 Dec 2004 00:55:23 -0800 From: Sean McNeil <sean@mcneil.com> To: Joe Marcus Clarke <marcus@marcuscom.com> Cc: FreeBSD GNOME Users <gnome@freebsd.org> Subject: Re: nautilus and network:/// Message-ID: <1103273723.74807.7.camel@server.mcneil.com> In-Reply-To: <1103256905.64063.6.camel@shumai.marcuscom.com> References: <1103239359.12136.5.camel@server.mcneil.com> <1103248116.64063.0.camel@shumai.marcuscom.com> <1103255659.16904.3.camel@server.mcneil.com> <1103255896.64063.4.camel@shumai.marcuscom.com> <1103256814.17418.0.camel@server.mcneil.com> <1103256905.64063.6.camel@shumai.marcuscom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-6p6LWENA2JcObyAsHnQm Content-Type: multipart/mixed; boundary="=-C7VrqR8sQw/J2QwrbenY" --=-C7VrqR8sQw/J2QwrbenY Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2004-12-16 at 23:15 -0500, Joe Marcus Clarke wrote: > > [sean@server sean]$ gnome-keyring-manager > >=20 > > (gnome-keyring-manager:17427): Gnome-Keyring-Manager-WARNING **: Failed > > get the default keyring. > >=20 > > Corrupted? >=20 > Possibly, or maybe there's a 64-bit bug. Well... it's not really a 64-bit bug, but an alignment bug. It could be an issue only on FreeBSD/amd64, but I doubt it. The problem is that the credentials being passed through the socket are poorly aligned because there is a char followed by a char array in one place. This char array then is assigned as a struct pointer. I have cleaned up the code and done it a way that should work on any system. Here is the patch to security/gnomekeyring. There is another place this is done and should be fixed as well, but there is an integer defined before the array which lends to proper alignment. Cheers, Sean p.s. There is an empty file in security/gnomekeyring/files that should probably be removed called patch-gnome-keyring-daemon.c.orig. --=-C7VrqR8sQw/J2QwrbenY-- --=-6p6LWENA2JcObyAsHnQm Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBwp77yQsGN30uGE4RAvAsAJ9dHw9t0Fmm/RZbZE7tD3rCey8v1wCfeYBd 14szUIFt1lKl0zXdFy6m+ao= =XsZo -----END PGP SIGNATURE----- --=-6p6LWENA2JcObyAsHnQm--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1103273723.74807.7.camel>