From: | Todd Lipcon <todd@cloudera.com> |
Date: | Thu, 20 Oct 2016 13:50:19 -0700 |
Subject: | Leak in krb5_cccol_have_content with truncated ccache |
To: | krb5-bugs@mit.edu |
If I set KRB5_CCNAME to an empty file (eg /dev/null or a truncated regular file) then krb5_cccol_have_content leaks the 'cache' local variable, because krb5_cc_start_seq_get returns an error.
I'm seeing this on krb5 1.12 but looking at the trunk code the issue seems to be the same.
It's obviously low priority since a truncated ticket cache isn't a normal phenomenon, but ran into this and figured I'd report it.
-Todd
-- Todd Lipcon
Software Engineer, Cloudera
Software Engineer, Cloudera