File: 0003-Update-to-increase-pam-stack-size-per-https-gitlab.c.patch

package info (click to toggle)
ocserv 1.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,924 kB
  • sloc: ansic: 46,747; sh: 12,630; makefile: 412; xml: 29
file content (27 lines) | stat: -rw-r--r-- 691 bytes parent folder | download
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
27
From 3606482486b8b4726dd25d4938567479d706c763 Mon Sep 17 00:00:00 2001
From: theevilapplepie <theevilapplepie@gmail.com>
Date: Tue, 3 Sep 2024 12:46:57 -0400
Subject: [PATCH] Update to increase pam stack size per
 https://gitlab.com/openconnect/ocserv/-/issues/619 Signed-off-by: James Vess
 <theevilapplepie@gmail.com>

---
 src/auth/pam.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/auth/pam.c b/src/auth/pam.c
index e8529718..43ab8004 100644
--- a/src/auth/pam.c
+++ b/src/auth/pam.c
@@ -48,7 +48,7 @@
 #include "auth/pam.h"
 #include "auth-unix.h"
 
-#define PAM_STACK_SIZE (96*1024)
+#define PAM_STACK_SIZE (1024*1024)
 
 #define MAX_REPLIES 2
 
-- 
2.39.5