]> git.ipfire.org Git - thirdparty/krb5.git/commit
Handle empty initial buffer in IAKERB initiator 1342/head
authorAndreas Schneider <asn@samba.org>
Wed, 8 May 2024 08:10:56 +0000 (10:10 +0200)
committerGreg Hudson <ghudson@mit.edu>
Tue, 28 May 2024 21:15:57 +0000 (17:15 -0400)
commit5f0023d5f05e95021a7caa1193f76f86871222ce
treea28118e8c8e83bd5792ca9849c72a78096d073f8
parentc5772bc916f8818070f9d78a2999bd5dfa0a68d5
Handle empty initial buffer in IAKERB initiator

Section 5.19 of RFC 2744 (about gss_init_sec_context) states,
"Initially, the input_token parameter should be specified either as
GSS_C_NO_BUFFER, or as a pointer to a gss_buffer_desc object whose
length field contains the value zero."  In iakerb_initiator_step(),
handle both cases when deciding whether to parse an acceptor message.

[ghudson@mit.edu: edited commit message]

ticket: 9126 (new)
src/lib/gssapi/krb5/iakerb.c