- add fix for bug 2131907.
This commit is contained in:
parent
cae98da176
commit
2b852f1510
@ -0,0 +1,37 @@
|
|||||||
|
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.7.orig/CHANGELOG
|
||||||
|
+++ autofs-5.1.7/CHANGELOG
|
||||||
|
@@ -103,6 +103,7 @@
|
||||||
|
- fix nfsv4 only mounts should not use rpcbind.
|
||||||
|
- dont use initgroups() at spawn.
|
||||||
|
- fix invalid tsv access.
|
||||||
|
+- fix missing unlock in sasl_do_kinit_ext_cc().
|
||||||
|
|
||||||
|
25/01/2021 autofs-5.1.7
|
||||||
|
- make bind mounts propagation slave by default.
|
||||||
|
--- autofs-5.1.7.orig/modules/cyrus-sasl.c
|
||||||
|
+++ autofs-5.1.7/modules/cyrus-sasl.c
|
||||||
|
@@ -721,6 +721,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:
|
@ -12,7 +12,7 @@
|
|||||||
Summary: A tool for automatically mounting and unmounting filesystems
|
Summary: A tool for automatically mounting and unmounting filesystems
|
||||||
Name: autofs
|
Name: autofs
|
||||||
Version: 5.1.7
|
Version: 5.1.7
|
||||||
Release: 32%{?dist}
|
Release: 33%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Source: https://www.kernel.org/pub/linux/daemons/autofs/v5/autofs-%{version}-2.tar.gz
|
Source: https://www.kernel.org/pub/linux/daemons/autofs/v5/autofs-%{version}-2.tar.gz
|
||||||
@ -129,6 +129,7 @@ Patch102: autofs-5.1.8-fix-nfsv4-only-mounts-should-not-use-rpcbind.patch
|
|||||||
|
|
||||||
Patch103: autofs-5.1.8-dont-use-initgroups-at-spawn.patch
|
Patch103: autofs-5.1.8-dont-use-initgroups-at-spawn.patch
|
||||||
Patch104: autofs-5.1.8-fix-invalid-tsv-access.patch
|
Patch104: autofs-5.1.8-fix-invalid-tsv-access.patch
|
||||||
|
Patch105: autofs-5.1.8-fix-missing-unlock-in-sasl_do_kinit_ext_cc.patch
|
||||||
|
|
||||||
%if %{with_systemd}
|
%if %{with_systemd}
|
||||||
BuildRequires: systemd-units
|
BuildRequires: systemd-units
|
||||||
@ -302,6 +303,7 @@ echo %{version}-%{release} > .version
|
|||||||
|
|
||||||
%patch103 -p1
|
%patch103 -p1
|
||||||
%patch104 -p1
|
%patch104 -p1
|
||||||
|
%patch105 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
LDFLAGS=-Wl,-z,now
|
LDFLAGS=-Wl,-z,now
|
||||||
@ -410,6 +412,11 @@ fi
|
|||||||
%dir /etc/auto.master.d
|
%dir /etc/auto.master.d
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 31 2022 Ian Kent <ikent@redhat.com> - 1:5.1.7-33
|
||||||
|
- bz2131907 - autofs: missing unlock in sasl_do_kinit_ext_cc()
|
||||||
|
- fix missing unlock in sasl_do_kinit_ext_cc().
|
||||||
|
- Resolves: rhbz#2131907
|
||||||
|
|
||||||
* Tue Oct 04 2022 Ian Kent <ikent@redhat.com> - 1:5.1.7-32
|
* Tue Oct 04 2022 Ian Kent <ikent@redhat.com> - 1:5.1.7-32
|
||||||
- bz2122565 - automount -m crashes with Segmentation fault (core dumped)
|
- bz2122565 - automount -m crashes with Segmentation fault (core dumped)
|
||||||
- fix invalid tsv access.
|
- fix invalid tsv access.
|
||||||
|
Loading…
Reference in New Issue
Block a user