Change in behavior for krb5_get_credentials()

Sam Hartman hartmans at MIT.EDU
Tue Apr 26 18:33:35 EDT 2005


>>>>> "Jeffrey" == Jeffrey Hutzelman <jhutz at cmu.edu> writes:

    Jeffrey> In case (3), you need to clearly document how to
    Jeffrey> determine, at runtime, whether the credentials are valid
    Jeffrey> after any particular error.  Otherwise it is impossible
    Jeffrey> for an application to insure that it neither leaks memory
    Jeffrey> nor attempts to free something that is invalid or already
    Jeffrey> freed.

Yes.  You would presumably initialize things to null.



More information about the krbdev mailing list