From owner-freebsd-gnome@FreeBSD.ORG Fri Dec 17 08:55:29 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6741116A4CE for ; Fri, 17 Dec 2004 08:55:29 +0000 (GMT) Received: from mail.mcneil.com (mcneil.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0941D43D1F for ; Fri, 17 Dec 2004 08:55:29 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id B0562F1ACF; Fri, 17 Dec 2004 00:55:28 -0800 (PST) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (server.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00761-07; Fri, 17 Dec 2004 00:55:23 -0800 (PST) Received: from mcneil.com (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 5A1DDF18FD; Fri, 17 Dec 2004 00:55:23 -0800 (PST) From: Sean McNeil To: Joe Marcus Clarke 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> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-6p6LWENA2JcObyAsHnQm" Date: Fri, 17 Dec 2004 00:55:23 -0800 Message-Id: <1103273723.74807.7.camel@server.mcneil.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port X-Virus-Scanned: by amavisd-new at mcneil.com X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: FreeBSD GNOME Users Subject: Re: nautilus and network:/// X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Dec 2004 08:55:29 -0000 --=-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--