Fix crash in 'sss_client/autofs/sss_autofs.c'
Resolves: RHEL-154804
This commit is contained in:
parent
5d369d0309
commit
994d01d552
28
0003-add-missing-include.patch
Normal file
28
0003-add-missing-include.patch
Normal file
@ -0,0 +1,28 @@
|
||||
commit ca662958218f4484a89be94015066ff6a14875a8
|
||||
Author: Alexey Tikhonov <atikhono@redhat.com>
|
||||
Date: Wed Apr 15 09:42:34 2026 +0200
|
||||
|
||||
Add missing include
|
||||
|
||||
Original patch f3af8c89af656767333410b0e94da9288dd8ade8 didn't include
|
||||
"config.h" that provides `HAVE_PTHREAD_EXT`
|
||||
It works in some branches accidentally because of transitive include
|
||||
via "sss_cli.h" but that's fragile (and in some branches "sss_cli.h"
|
||||
doesn't include "config.h")
|
||||
|
||||
Reviewed-by: Tomáš Halman <thalman@redhat.com>
|
||||
(cherry picked from commit a809b9236250e6f20e9a9ff1452708cd288b705f)
|
||||
|
||||
diff --git a/src/sss_client/autofs/sss_autofs.c b/src/sss_client/autofs/sss_autofs.c
|
||||
index f5986767f..45e2ce460 100644
|
||||
--- a/src/sss_client/autofs/sss_autofs.c
|
||||
+++ b/src/sss_client/autofs/sss_autofs.c
|
||||
@@ -18,6 +18,8 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
+#include "config.h"
|
||||
+
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdatomic.h>
|
||||
@ -27,7 +27,7 @@
|
||||
|
||||
Name: sssd
|
||||
Version: 2.9.8
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: System Security Services Daemon
|
||||
License: GPLv3+
|
||||
URL: https://github.com/SSSD/sssd/
|
||||
@ -36,6 +36,7 @@ Source0: https://github.com/SSSD/sssd/releases/download/%{version}/sssd-%{versio
|
||||
### Patches ###
|
||||
Patch1: 0001-do-not-require-GID-for-non-POSIX-group.patch
|
||||
Patch2: 0002-fix-use-after-free-in-kcm_read_options.patch
|
||||
Patch3: 0003-add-missing-include.patch
|
||||
|
||||
### Dependencies ###
|
||||
|
||||
@ -1085,6 +1086,9 @@ fi
|
||||
%systemd_postun_with_restart sssd.service
|
||||
|
||||
%changelog
|
||||
* Wed Apr 15 2026 Tomas Halman <thalman@redhat.com> - 2.9.8-4
|
||||
- Resolves: RHEL-154804 Crash in 'sss_client/autofs/sss_autofs.c'
|
||||
|
||||
* Mon Apr 13 2026 Tomas Halman <thalman@redhat.com> - 2.9.8-3
|
||||
- Resolves: RHEL-167758 - sssd-kcm fails to start if krb5_renew_interval is specified
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user