]> git.pld-linux.org Git - packages/pam.git/commitdiff
- increased memory limit used for parsing groups from 32KB to 128KB,
authorhawk <hawk@pld-linux.org>
Mon, 12 Jun 2006 07:29:03 +0000 (07:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  fixes OOM problem with larger groups

Changed files:
    pam-modutil_mem_limit.patch -> 1.1

pam-modutil_mem_limit.patch [new file with mode: 0644]

diff --git a/pam-modutil_mem_limit.patch b/pam-modutil_mem_limit.patch
new file mode 100644 (file)
index 0000000..2b75833
--- /dev/null
@@ -0,0 +1,12 @@
+diff -ur pam-pld-0.80.1.orig/modules/pammodutil/pammodutil.h pam-pld-0.80.1/modules/pammodutil/pammodutil.h
+--- pam-pld-0.80.1.orig/modules/pammodutil/pammodutil.h        2005-06-07 16:30:27.000000000 +0200
++++ pam-pld-0.80.1/modules/pammodutil/pammodutil.h     2006-06-07 08:48:49.000000000 +0200
+@@ -12,7 +12,7 @@
+ #include "security/_pam_modutil.h"
+ #define PWD_INITIAL_LENGTH     0x100
+-#define PWD_ABSURD_PWD_LENGTH  0x8000
++#define PWD_ABSURD_PWD_LENGTH  0x20000
+ /* This is a simple cleanup, it just free()s the 'data' memory */
+ extern void _pammodutil_cleanup(pam_handle_t *pamh, void *data,
This page took 0.035208 seconds and 4 git commands to generate.