summaryrefslogtreecommitdiffstats
path: root/debian/patches/CVE-2021-41617-2.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-07 05:39:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-07 05:39:34 +0000
commit1a040104899b0285a3a41ebd1dfe72a84dedeb22 (patch)
treee22983d910417ad86452c74b9c6a272b7e07ee82 /debian/patches/CVE-2021-41617-2.patch
parentAdding debian version 1:7.9p1-10+deb10u3. (diff)
downloadopenssh-01f2aae37ffa53d8236aa41be81ebbb4fdff1dc2.tar.xz
openssh-01f2aae37ffa53d8236aa41be81ebbb4fdff1dc2.zip
Adding debian version 1:7.9p1-10+deb10u4.debian/1%7.9p1-10+deb10u4debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/CVE-2021-41617-2.patch')
-rw-r--r--debian/patches/CVE-2021-41617-2.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/CVE-2021-41617-2.patch b/debian/patches/CVE-2021-41617-2.patch
new file mode 100644
index 0000000..62a066b
--- /dev/null
+++ b/debian/patches/CVE-2021-41617-2.patch
@@ -0,0 +1,26 @@
+From 0afd6ea47554dee40d1eaf33fa73d693fb661e64 Mon Sep 17 00:00:00 2001
+From: Damien Miller <djm@mindrot.org>
+Date: Mon, 27 Sep 2021 00:03:19 +1000
+Subject: initgroups needs grp.h
+
+Bug-Debian: https://bugs.debian.org/995130
+Origin: backport, https://anongit.mindrot.org/openssh.git/commit/?id=bf944e3794eff5413f2df1ef37cddf96918c6bde
+Last-Update: 2023-12-19
+
+Patch-Name: CVE-2021-41617-2.patch
+---
+ auth.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/auth.c b/auth.c
+index 32870851b..88578ec45 100644
+--- a/auth.c
++++ b/auth.c
+@@ -39,6 +39,7 @@
+ # include <paths.h>
+ #endif
+ #include <pwd.h>
++#include <grp.h>
+ #ifdef HAVE_LOGIN_H
+ #include <login.h>
+ #endif