fix reallocation bug

This commit is contained in:
Werner Koch 2010-07-23 12:30:34 +00:00
parent 08f78839cf
commit 9c2a8b60a2
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2010-07-23 Werner Koch <wk@g10code.com>
* keybox-blob.c (_keybox_create_x509_blob): Fix reallocation bug.
2010-04-20 Marcus Brinkmann <marcus@g10code.de>
* keybox-update.c [!HAVE_DOSISH_SYSTEM]: Include

View File

@ -889,6 +889,7 @@ _keybox_create_x509_blob (KEYBOXBLOB *r_blob, ksba_cert_t cert,
rc = gpg_error_from_syserror ();
goto leave;
}
names = tmp;
}
names[blob->nuids++] = p;
if (!i && (p=x509_email_kludge (p)))