svn rev #20551: trunk/src/lib/krb5/ccache/
jaltman@MIT.EDU
jaltman at MIT.EDU
Mon Jul 21 13:44:43 EDT 2008
Commit By: jaltman
Log Message:
ticket: 5080
tags: pullup
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.
Changed Files:
U trunk/src/lib/krb5/ccache/ccdefault.c
More information about the cvs-krb5
mailing list