summaryrefslogtreecommitdiffstats
path: root/debian/patches/CVE-2021-41617-2.patch
blob: 62a066b6788f92040191b7ff515ab8b924c5ad91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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