diff options
author | Jeffrey Altman <jaltman@secure-endpoints.com> | 2007-10-01 05:25:34 +0000 |
---|---|---|
committer | Jeffrey Altman <jaltman@secure-endpoints.com> | 2007-10-01 05:25:34 +0000 |
commit | 6fb143c5cb273f1207e6f0140d72460a1aa7a852 (patch) | |
tree | d233ccb6bc501e8cd60caaacda06b761caf72472 /src/windows | |
parent | 1a78f093c916b50be785635f95823de19483d34b (diff) | |
download | krb5-6fb143c5cb273f1207e6f0140d72460a1aa7a852.tar.gz krb5-6fb143c5cb273f1207e6f0140d72460a1aa7a852.tar.xz krb5-6fb143c5cb273f1207e6f0140d72460a1aa7a852.zip |
NIM: BUG: APP: identity data corruption
The credentials display in Network Identity Manager uses a cached set
of properties for each identity that has credentials. The existing
code used the wrong field of the khui_credwnd_identity structure to
store the credentials type name associated with an identity, resulting
in a corrupt data structure.
This patch fixes the code to use the correct field.
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20030 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/windows')
-rw-r--r-- | src/windows/identity/ui/credwnd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows/identity/ui/credwnd.c b/src/windows/identity/ui/credwnd.c index a77ea24f3b..e58786363a 100644 --- a/src/windows/identity/ui/credwnd.c +++ b/src/windows/identity/ui/credwnd.c @@ -963,7 +963,7 @@ cw_credset_iter_func(khm_handle cred, void * rock) { cb = sizeof(cwi->credtype_name); if (KHM_FAILED(kcdb_identity_get_attr(ident, KCDB_ATTR_TYPE_NAME, NULL, - &cwi->credtype, &cb))) { + &cwi->credtype_name, &cb))) { cb = sizeof(cwi->credtype_name); kcdb_credtype_describe(cwi->credtype, cwi->credtype_name, &cb, KCDB_TS_SHORT); |