gpg2/gnupg-CVE-2010-2547.patch

13 lines
509 B
Diff

Index: gnupg-2.0.16/kbx/keybox-blob.c
===================================================================
--- gnupg-2.0.16.orig/kbx/keybox-blob.c 2009-09-21 18:53:44.000000000 +0200
+++ gnupg-2.0.16/kbx/keybox-blob.c 2010-07-28 11:28:50.000000000 +0200
@@ -898,6 +898,7 @@ _keybox_create_x509_blob (KEYBOXBLOB *r_
rc = gpg_error_from_syserror ();
goto leave;
}
+ names = tmp;
}
names[blob->nuids++] = p;
if (!i && (p=x509_email_kludge (p)))