summaryrefslogtreecommitdiffstats
path: root/src/kadmin/testing
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2007-02-04 02:03:48 +0000
committerEzra Peisach <epeisach@mit.edu>2007-02-04 02:03:48 +0000
commitcbf68e7ae3bbae299793240ee3b65a45bb09f7c6 (patch)
treeae6d04e353e7e5e7378bdc29f46ad09806a96174 /src/kadmin/testing
parent1e88e68ab68e74df6b1118a74a3bdcbf0cf4a32f (diff)
downloadkrb5-cbf68e7ae3bbae299793240ee3b65a45bb09f7c6.tar.gz
krb5-cbf68e7ae3bbae299793240ee3b65a45bb09f7c6.tar.xz
krb5-cbf68e7ae3bbae299793240ee3b65a45bb09f7c6.zip
MEMORY keytab does not copy keytab_entry keyblock contents
In krb5_kt_add_entry: The MEMORY keytab does not make a copy of the keytab_entry keyblock contents - but instead retains a pointer to the incomming one. In krb5_kt_get_entry and krb5_kt_get_next - a pointer to internal keyblock contents memory is returned to the caller - which is subsequently freed when tht caller invokes krb5_free_keytab_entry_contents. Solution is to use krb5_copy_keyblock_contents() instead of simply copying the structure. Ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19140 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kadmin/testing')
0 files changed, 0 insertions, 0 deletions