diff options
| author | Jeffrey Altman <jaltman@secure-endpoints.com> | 2008-07-21 17:44:43 +0000 |
|---|---|---|
| committer | Jeffrey Altman <jaltman@secure-endpoints.com> | 2008-07-21 17:44:43 +0000 |
| commit | c618db64af29b04b651cc8f354eec4ef7cbc5298 (patch) | |
| tree | 9e2bb5620aaa558a17ff7e3caae3e2a49b7b5e53 /src/kdc/network.c | |
| parent | f31c8b13535216496fc4946888b9535d4f7d03f2 (diff) | |
| download | krb5-c618db64af29b04b651cc8f354eec4ef7cbc5298.tar.gz krb5-c618db64af29b04b651cc8f354eec4ef7cbc5298.tar.xz krb5-c618db64af29b04b651cc8f354eec4ef7cbc5298.zip | |
ccdefault.c:
krb5_cc_default_name() is permitted to return a NULL
pointer as a valid output. Passing a NULL pointer to
strcmp() will result in an exception as NULL is not
a valid input parameter to strcmp().
Save the output of krb5_cc_default_name() to a variable
and modify the conditional to set the new default ccache
name in the case where there is no existing default
ccache name.
ticket: 5080
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20551 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kdc/network.c')
0 files changed, 0 insertions, 0 deletions
