* recipient.c (gpgme_recipients_add_name_with_validity): Add one
to buffer to allocate.
+2003-05-26 Marcus Brinkmann <marcus@g10code.de>
+
+ * recipient.c (gpgme_recipients_add_name_with_validity): Add one
+ to buffer to allocate.
+
2003-05-19 Marcus Brinkmann <marcus@g10code.de>
* verify.c (parse_new_sig): Fix ERRSIG case.
if (!name || !rset)
return GPGME_Invalid_Value;
- uid = malloc (sizeof (*uid) + strlen (name));
+ uid = malloc (sizeof (*uid) + strlen (name) + 1);
if (!uid)
return GPGME_Out_Of_Core;
uid->validity = validity;