[krbdev.mit.edu #5080] SVN Commit
Jeffrey Altman via RT
rt at krbdev.mit.edu
Mon Jul 21 13:44:51 EDT 2008
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.
Commit By: jaltman
Revision: 20551
Changed Files:
U trunk/src/lib/krb5/ccache/ccdefault.c
More information about the kfwdev
mailing list