summaryrefslogtreecommitdiff
path: root/0016-Increase-VSFTP_AS_LIMIT-from-200UL-to-400UL.patch
diff options
context:
space:
mode:
Diffstat (limited to '0016-Increase-VSFTP_AS_LIMIT-from-200UL-to-400UL.patch')
-rw-r--r--0016-Increase-VSFTP_AS_LIMIT-from-200UL-to-400UL.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/0016-Increase-VSFTP_AS_LIMIT-from-200UL-to-400UL.patch b/0016-Increase-VSFTP_AS_LIMIT-from-200UL-to-400UL.patch
new file mode 100644
index 0000000..fae6b9c
--- /dev/null
+++ b/0016-Increase-VSFTP_AS_LIMIT-from-200UL-to-400UL.patch
@@ -0,0 +1,27 @@
+From 048208a4db5d7164d89ba5d7545e281d0a3472d3 Mon Sep 17 00:00:00 2001
+From: Martin Sehnoutka <msehnout@redhat.com>
+Date: Wed, 7 Sep 2016 15:35:59 +0200
+Subject: [PATCH 16/59] Increase VSFTP_AS_LIMIT from 200UL to 400UL.
+
+When using a PAM module to get users from LDAP or database the old
+limit was insufficient.
+---
+ defs.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/defs.h b/defs.h
+index ca11eac..bde3232 100644
+--- a/defs.h
++++ b/defs.h
+@@ -19,7 +19,7 @@
+ /* Must be at least the size of VSFTP_MAX_COMMAND_LINE, VSFTP_DIR_BUFSIZE and
+ VSFTP_DATA_BUFSIZE*2 */
+ #define VSFTP_PRIVSOCK_MAXSTR VSFTP_DATA_BUFSIZE * 2
+-#define VSFTP_AS_LIMIT 200UL * 1024 * 1024
++#define VSFTP_AS_LIMIT 400UL * 1024 * 1024
+
+ #endif /* VSF_DEFS_H */
+
+--
+2.14.4
+