Nicolas Williams <Nicolas.Williams@xxxxxxx> writes:
Jeff Hutzelman points out that RFC2744 specifically requires that all
gss_buffer_t outputs be released. That wouldn't bother me at all here
(we'd have to say that draft-ietf-sasl-gs2 updates RFC2744), but,
RFC5587 (draft-ietf-kitten-extended-mech-inquiry, in AUTH48) had a
chance to do that and didn't, so I'd say that these output buffers
should be released by the app.
Good catch, I have removed the paragraph. How memory should be managed
by applications (i.e., they have to be released) then follows directly
from the normative RFC 2744 and GS2 shouldn't say anything about it.
Alexey, I hope this resolves your question.