Skip Menu |
 

From: ghudson@mit.edu
Subject: SVN Commit

krb5_cc_set_config has been non-functional since r24753 on cache types
which don't support removal of credential entries. Fix it by only
calling krb5_cc_remove_cred if data is NULL, since krb5_cc_store_cred
will do it anyway in the positive case.

Also fix an old memory leak in an uncommon error case.

https://github.com/krb5/krb5/commit/c0a51fe0c8051e27c6cee4f4f0c705356a715e1e
Commit By: ghudson
Revision: 25384
Changed Files:
U trunk/src/lib/krb5/ccache/ccfns.c
From: tlyu@mit.edu
Subject: SVN Commit

pull up r25384 from trunk

------------------------------------------------------------------------
r25384 | ghudson | 2011-10-19 23:45:12 -0400 (Wed, 19 Oct 2011) | 12 lines

ticket: 6987
subject: Fix krb5_cc_set_config
target_version: 1.10
tags: pullup

krb5_cc_set_config has been non-functional since r24753 on cache types
which don't support removal of credential entries. Fix it by only
calling krb5_cc_remove_cred if data is NULL, since krb5_cc_store_cred
will do it anyway in the positive case.

Also fix an old memory leak in an uncommon error case.

https://github.com/krb5/krb5/commit/eaeb314ab93fca60f7615265204ec71c68696a7b
Commit By: tlyu
Revision: 25388
Changed Files:
U branches/krb5-1-10/src/lib/krb5/ccache/ccfns.c