]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix uninitialized flags in MSLSA ccache type
authorAlexander Karaivanov <alexander.karaivanov@karoshealth.com>
Mon, 24 Apr 2017 07:01:12 +0000 (09:01 +0200)
committerGreg Hudson <ghudson@mit.edu>
Mon, 17 Jul 2017 21:31:42 +0000 (17:31 -0400)
commitd1f8fc8a7532d26b3b44a050b3ef71491f5a224d
tree0c04f9914455c53655b30dea53c65fafccb4e36b
parentae9e99e9a3d41442128bdcb3b86fb3677db7c2d1
Fix uninitialized flags in MSLSA ccache type

The flags field in krb5_lcc_data is not initialized in
krb5_lcc_resolve(), so krb5_lcc_next_cred() can sometimes fail to
include a ticket when retrieving a ccache entry.  This results in a
"Request did not supply a ticket" error from k5_make_tgs_req() when
trying to use the credential.

[ghudson@mit.edu: condensed commit message]

(cherry picked from commit e5a78d4c90d9d6968c94b0c07f2cd3835f02aa5d)

ticket: 8567
version_fixed: 1.15.2
src/lib/krb5/ccache/cc_mslsa.c