Skip Menu |
 

From: "Kevin Wasserman" <krwasserman@hotmail.com>
To: <krb5-bugs@mit.edu>
Subject: krb5_cc_get_full_name() does not document how to free fullname_out
Date: Wed, 20 Jun 2012 10:42:01 -0400
Presumably it should be via krb5_free_string().  At least, that is how
kdestroy.c does it.  Note that kinit.c simply calls free(), but that is
presumably a bug.
 
Kevin Wasserman
Painless Security, LLC
It's not really a bug for klist (not kinit) to use free() for that, since
it should be built in the same way as libkrb5. But it doesn't set a very
good example, so I'll fix it.
From: ghudson@mit.edu
Subject: SVN Commit

Document how to free krb5_cc_get_full_name result

Also, in klist, use the appropriate libkrb5 free functions for
krb5_cc_get_full_name and krb5_unparse_name_results. Reported by
Kevin Wasserman.

https://github.com/krb5/krb5/commit/37b09d45192bd9d958d047dbb829d10f892b1fda
Author: Greg Hudson <ghudson@mit.edu>
Commit: 37b09d45192bd9d958d047dbb829d10f892b1fda
Branch: master
src/clients/klist/klist.c | 4 ++--
src/include/krb5/krb5.hin | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)