[Announce] new gnupg snapshot
Jan Niehusmann
jan@gondor.com
Sat Apr 14 13:44:02 2001
--yrj/dFKFPuw6o+aM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sat, Apr 14, 2001 at 01:33:26PM +0200, Jan Niehusmann wrote:
> On Sat, Apr 14, 2001 at 01:26:57PM +0200, Jan Niehusmann wrote:
> > The bug is reproducible, checked it with a GNUPGHOME that only=20
> > contains the pubring.pgp.
>=20
> As an additional debugging help, I patched gpg to produce a core
> dump and created a stack trace:
I like replying to myself ;-)
Looking at the code, the fix is fairly obvious:
--- gnupg-1.0.4g/g10/getkey.c.orig Sat Apr 14 13:40:55 2001
+++ gnupg-1.0.4g/g10/getkey.c Sat Apr 14 13:41:53 2001
@@ -1363,13 +1363,14 @@
fixup_uidnode ( KBNODE uidnode, KBNODE signode )
{
PKT_user_id *uid =3D uidnode->pkt->pkt.user_id;
- PKT_signature *sig =3D signode->pkt->pkt.signature;
+ PKT_signature *sig;
const byte *p;
size_t n;
=20
uid->created =3D 0; /* not created =3D=3D invalid */
if ( !signode )=20
return; /* no self-signature */
+ sig =3D signode->pkt->pkt.signature;
if ( IS_UID_REV ( sig ) ) {
uid->is_revoked =3D 1;
return; /* has been revoked */
--yrj/dFKFPuw6o+aM
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD4DBQE62DfsnIUccvEtoGURAqzNAJdRGCkhCoe61fVuB8rFhJ/IniNFAJ90duJK
Fe33t0gB6gWuzzrI15xnfA==
=GHEG
-----END PGP SIGNATURE-----
--yrj/dFKFPuw6o+aM--