Skip Menu |
 

From: ghudson@mit.edu
Subject: git commit

Fix KCM ccache per-type cursor

The KCM per-type cursor was too simplistic and did not obey the
conventions of the other ccache types. Fix it to return a singleton
cursor when the default cache is a subsidiary and to return the
primary cache first.

For internal convenience, make_cache now accepts a context parameter
and creates a kcmio if necessary.

https://github.com/krb5/krb5/commit/956cbd24e645609c94fbc836840ce0f87ba3ce79
Author: Greg Hudson <ghudson@mit.edu>
Commit: 956cbd24e645609c94fbc836840ce0f87ba3ce79
Branch: master
src/lib/krb5/ccache/cc_kcm.c | 120 +++++++++++++++++++++++++++++++-----------
1 files changed, 89 insertions(+), 31 deletions(-)
From: ghudson@mit.edu
Subject: git commit

Fix unlikely memory leak in KCM client

Commit 956cbd24e645609c94fbc836840ce0f87ba3ce79 created a memory leak
if the KCM_OP_GET_DEFAULT_CACHE call fails inside kcm_ptcursor_new
after the KCM_OP_GET_CACHE_UUID_LIST call succeeds. Fix it.

https://github.com/krb5/krb5/commit/935de68b110ca0369e4cf16bbdc7da74b5799e69
Author: Greg Hudson <ghudson@mit.edu>
Commit: 935de68b110ca0369e4cf16bbdc7da74b5799e69
Branch: master
src/lib/krb5/ccache/cc_kcm.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)