[Announce] new gnupg snapshot

Jan Niehusmann jan at gondor.com
Sat Apr 14 14:44:02 CEST 2001


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 
> > contains the pubring.pgp.
> 
> 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 = uidnode->pkt->pkt.user_id;
-    PKT_signature *sig = signode->pkt->pkt.signature;
+    PKT_signature *sig;
     const byte *p;
     size_t n;
 
     uid->created = 0; /* not created == invalid */
     if ( !signode ) 
         return; /* no self-signature */
+    sig = signode->pkt->pkt.signature;
     if ( IS_UID_REV ( sig ) ) {
         uid->is_revoked = 1;
         return; /* has been revoked */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
Url : /pipermail/attachments/20010414/228f0fbd/attachment.bin


More information about the Gnupg-devel mailing list