gnupg/kbx
Justus Winter 29beea6462 g10: Fix keybox-related memory leaks.
* g10/keydb.c (keydb_release): Clear keyblock cache.
(keydb_get_keyblock): Revert previous change.
* kbx/keybox-blob.c (create_blob_finish): Free previous buffer, free
fixups after applying them.
(_keybox_release_blob): Free buffer.  Currently, the buffer has been
extracted before the keybox is released, but this is the right thing
to do here.

Fixes-commit: c57501cc
Signed-off-by: Justus Winter <justus@g10code.com>
2016-06-30 18:50:16 +02:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am gpg: Avoid linking to Libksba 2015-08-17 16:17:19 +02:00
Manifest The keybox gets now compressed after 3 hours and ephemeral 2004-04-26 08:09:25 +00:00
kbxutil.c common: Rename log and gcc attribute macros (jnlib merge). 2015-04-24 16:10:47 +02:00
keybox-blob.c g10: Fix keybox-related memory leaks. 2016-06-30 18:50:16 +02:00
keybox-defs.h Replace use of opt.homedir by accessor functions. 2016-06-07 10:59:46 +02:00
keybox-dump.c kbx: Avoid warnings about useless assignments. 2016-01-07 19:09:15 +01:00
keybox-errors.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox-file.c kbx: Avoid undefined behavior. 2016-03-07 14:38:11 +01:00
keybox-init.c w32: Fix deadlock introduced by keybox_file_rename. 2016-01-14 20:45:33 +01:00
keybox-openpgp.c kbx: Avoid faulty fclose in an error case. 2016-01-06 08:39:08 +01:00
keybox-search-desc.h Fix typos found using codespell. 2015-11-17 12:50:22 +01:00
keybox-search.c kbx: Change return type of search functions to gpg_error_t. 2016-01-13 15:08:42 +01:00
keybox-update.c kbx: New function keybox_file_rename to replace rename. 2016-01-14 16:50:24 +01:00
keybox-util.c kbx,w32: Use shorter retry intervals for keybox_file_rename. 2016-01-15 08:15:40 +01:00
keybox.h kbx: New function keybox_file_rename to replace rename. 2016-01-14 16:50:24 +01:00
mkerrors Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00