38 lines
1022 B
Diff
38 lines
1022 B
Diff
autofs-5.1.8 - fix missing unlock in sasl_do_kinit_ext_cc()
|
|
|
|
From: James Dingwall <james-autofs@dingwall.me.uk>
|
|
|
|
There is a missing mutex unlock in function sasl_do_kinit_ext_cc(),
|
|
fix it.
|
|
|
|
Signed-off-by: James Dingwall <james-autofs@dingwall.me.uk>
|
|
Signed-off-by: Ian Kent <raven@themaw.net>
|
|
---
|
|
CHANGELOG | 1 +
|
|
modules/cyrus-sasl.c | 4 ++++
|
|
2 files changed, 5 insertions(+)
|
|
|
|
--- autofs-5.1.4.orig/CHANGELOG
|
|
+++ autofs-5.1.4/CHANGELOG
|
|
@@ -165,6 +165,7 @@
|
|
- fix ldap sasl reconnect problem.
|
|
- always recreate credential cache.
|
|
- fix always recreate credential cache.
|
|
+- fix missing unlock in sasl_do_kinit_ext_cc().
|
|
|
|
xx/xx/2018 autofs-5.1.5
|
|
- fix flag file permission.
|
|
--- autofs-5.1.4.orig/modules/cyrus-sasl.c
|
|
+++ autofs-5.1.4/modules/cyrus-sasl.c
|
|
@@ -751,6 +751,10 @@ sasl_do_kinit_ext_cc(unsigned logopt, st
|
|
|
|
debug(logopt, "Kerberos authentication was successful!");
|
|
|
|
+ status = pthread_mutex_unlock(&krb5cc_mutex);
|
|
+ if (status)
|
|
+ fatal(status);
|
|
+
|
|
return 0;
|
|
|
|
out_cleanup_def_princ:
|