]> git.ipfire.org Git - thirdparty/krb5.git/commit
Do not loop on add_cred_from and other new methods
authorSam Hartman <hartmans@debian.org>
Wed, 4 Jun 2014 16:06:27 +0000 (12:06 -0400)
committerTom Yu <tlyu@mit.edu>
Fri, 27 Jun 2014 17:12:19 +0000 (13:12 -0400)
commit62e3a3372ac483fca2f996fe12109d3536fd1d3e
tree47719456170a3d08f534d134b6cd15f1d4319db8
parentcd957d3f62623168bcde3d66633f3d2fd4e775ba
Do not loop on add_cred_from and other new methods

Several new GSS-API methods were added but GSSAPI_ADD_METHOD was
called to add them rather than GSSAPI_ADD_METHOD_NOLOOP.  This means
that the implementation from the GSS-API mechglue would be used if the
mechanism had no implementation.  As a result, the mechglue will call
into itself exhausting the call stack in an endless loop when one of
these methods is called.

(cherry picked from commit 41d38531043b99e8daa334f2b6ddf376adf1e878)

ticket: 7926
version_fixed: 1.12.2
status: resolved
src/lib/gssapi/mechglue/g_initialize.c