For review: GSS memory allocation patch

Sam Hartman hartmans at MIT.EDU
Fri Oct 14 12:49:33 EDT 2011

>>>>> "Kevin" == Kevin Wasserman <krwasserman at> writes:

    Kevin> Also, apologies if I'm being dense, but I'm not sure I
    Kevin> understand what you mean by "the caller should not fail when
    Kevin> the output attribute parameter is NULL."  I'm not seeing
    Kevin> where the caller is failing in that case.

If you call gss_inquire_name with null attrs, then the krb5 mechanism
returns EINVAL.
Instead, the mechglue should probably fill in whether the name is a
mechanism name and which mechanism but not call into the mechanism if
attrs is null.

More information about the krbdev mailing list