diff options
author | Werner Koch <wk@gnupg.org> | 2010-07-23 14:30:34 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2010-07-23 14:30:34 +0200 |
commit | 9c2a8b60a23fdc7b8ba596f338149155189b7a5f (patch) | |
tree | c7661b0cd969751c2c3f0e6b91aa9cacdaa60b9e | |
parent | . (diff) | |
download | gnupg2-9c2a8b60a23fdc7b8ba596f338149155189b7a5f.tar.xz gnupg2-9c2a8b60a23fdc7b8ba596f338149155189b7a5f.zip |
fix reallocation bug
-rw-r--r-- | kbx/ChangeLog | 4 | ||||
-rw-r--r-- | kbx/keybox-blob.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/kbx/ChangeLog b/kbx/ChangeLog index a64d54cc5..1056ad1b3 100644 --- a/kbx/ChangeLog +++ b/kbx/ChangeLog @@ -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 diff --git a/kbx/keybox-blob.c b/kbx/keybox-blob.c index a14499311..a65bb435b 100644 --- a/kbx/keybox-blob.c +++ b/kbx/keybox-blob.c @@ -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))) |