SOURCES: pam-modutil_mem_limit.patch (NEW) - increased memory limi...

hawk hawk at pld-linux.org
Mon Jun 12 09:29:09 CEST 2006


Author: hawk                         Date: Mon Jun 12 07:29:08 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- increased memory limit used for parsing groups from 32KB to 128KB,
  fixes OOM problem with larger groups

---- Files affected:
SOURCES:
   pam-modutil_mem_limit.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/pam-modutil_mem_limit.patch
diff -u /dev/null SOURCES/pam-modutil_mem_limit.patch:1.1
--- /dev/null	Mon Jun 12 09:29:08 2006
+++ SOURCES/pam-modutil_mem_limit.patch	Mon Jun 12 09:29:03 2006
@@ -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,
================================================================


More information about the pld-cvs-commit mailing list