2003-05-26 Marcus Brinkmann <marcus@g10code.de>
* recipient.c (gpgme_recipients_add_name_with_validity): Add one to buffer to allocate.
This commit is contained in:
parent
c341e29590
commit
673cbb3e81
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -69,7 +69,7 @@ gpgme_recipients_add_name_with_validity (gpgme_recipients_t rset,
|
||||
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user