diff options
Diffstat (limited to 'security/krb5-17/files/patch-ba')
-rw-r--r-- | security/krb5-17/files/patch-ba | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/security/krb5-17/files/patch-ba b/security/krb5-17/files/patch-ba index 9c4a82b10e66..60d70466eff3 100644 --- a/security/krb5-17/files/patch-ba +++ b/security/krb5-17/files/patch-ba @@ -30,7 +30,7 @@ bad_login: setpriority(PRIO_PROCESS, 0, 0 + PRIO_OFFSET); -@@ -1634,19 +1625,28 @@ +@@ -1640,20 +1631,28 @@ /* set up credential cache -- obeying KRB5_ENV_CCNAME set earlier */ /* (KRB5_ENV_CCNAME == "KRB5CCNAME" via osconf.h) */ @@ -66,7 +66,8 @@ + } } - -- krb5_cc_destroy(kcontext, xtra_creds); +- if (xtra_creds) +- krb5_cc_destroy(kcontext, xtra_creds); } else if (forwarded_v5_tickets && rewrite_ccache) { if ((retval = krb5_cc_initialize (kcontext, ccache, me))) { syslog(LOG_ERR, |