]> git.pld-linux.org Git - packages/ftpd-BSD.git/blobdiff - ftpd-BSD-username.patch
- username buffer increased from 16 to 17 characters, to allow usernames
[packages/ftpd-BSD.git] / ftpd-BSD-username.patch
diff --git a/ftpd-BSD-username.patch b/ftpd-BSD-username.patch
new file mode 100644 (file)
index 0000000..df9e9a5
--- /dev/null
@@ -0,0 +1,12 @@
+diff -bruN ftpd-BSD-0.3.2/ftpd/ftpd.c ftpd-BSD-0.3.2.new/ftpd/ftpd.c
+--- ftpd-BSD-0.3.2/ftpd/ftpd.c Fri Jul  7 05:06:04 2000
++++ ftpd-BSD-0.3.2.new/ftpd/ftpd.c     Tue Nov  7 17:51:08 2000
+@@ -802,7 +802,7 @@
+ static int login_attempts;    /* number of failed login attempts */
+ static int askpasswd;         /* had user command, ask for passwd */
+-static char curname[16];      /* current USER name */
++static char curname[17];      /* current USER name */
+ /*
+  * USER command.
This page took 0.052763 seconds and 4 git commands to generate.