summaryrefslogtreecommitdiff
path: root/security/gnupg2/patches/patch-an
diff options
context:
space:
mode:
Diffstat (limited to 'security/gnupg2/patches/patch-an')
-rw-r--r--security/gnupg2/patches/patch-an15
1 files changed, 15 insertions, 0 deletions
diff --git a/security/gnupg2/patches/patch-an b/security/gnupg2/patches/patch-an
new file mode 100644
index 00000000000..2f97e287c24
--- /dev/null
+++ b/security/gnupg2/patches/patch-an
@@ -0,0 +1,15 @@
+$NetBSD: patch-an,v 1.1.2.2 2010/08/08 16:42:51 spz Exp $
+
+http://lists.gnupg.org/pipermail/gnupg-announce/2010q3/000302.html
+(CVE-2010-2547)
+
+--- kbx/keybox-blob.c.orig 2009-09-21 16:53:44.000000000 +0000
++++ kbx/keybox-blob.c
+@@ -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)))