rpms/vsftpd/devel vsftpd-2.0.5-uname_size.patch, NONE, 1.1 vsftpd.spec, 1.72, 1.73

Martin Nagy (mnagy) fedora-extras-commits at redhat.com
Fri Nov 30 13:52:40 UTC 2007


Author: mnagy

Update of /cvs/extras/rpms/vsftpd/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16297

Modified Files:
	vsftpd.spec 
Added Files:
	vsftpd-2.0.5-uname_size.patch 
Log Message:
* Fri Nov 30 2007 Martin Nagy <mnagy at redhat.com> - 2.0.5-21
- Increase maximum length of allowed username (#236326).


vsftpd-2.0.5-uname_size.patch:

--- NEW FILE vsftpd-2.0.5-uname_size.patch ---
--- vsftpd-2.0.5/defs.h.uname_size	2007-04-13 15:15:54.000000000 +1000
+++ vsftpd-2.0.5/defs.h	2007-04-13 15:19:14.000000000 +1000
@@ -6,7 +6,7 @@
 #define VSFTP_COMMAND_FD        0
 
 #define VSFTP_PASSWORD_MAX      128
-#define VSFTP_USERNAME_MAX      32
+#define VSFTP_USERNAME_MAX      128
 #define VSFTP_MAX_COMMAND_LINE  4096
 #define VSFTP_DATA_BUFSIZE      65536
 #define VSFTP_DIR_BUFSIZE       16384


Index: vsftpd.spec
===================================================================
RCS file: /cvs/extras/rpms/vsftpd/devel/vsftpd.spec,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- vsftpd.spec	30 Nov 2007 13:34:01 -0000	1.72
+++ vsftpd.spec	30 Nov 2007 13:52:07 -0000	1.73
@@ -45,6 +45,7 @@
 Patch32: vsftpd-2.0.5-fix_unique.patch
 Patch33: vsftpd-2.0.5-userlist_log.patch
 Patch34: vsftpd-2.0.5-underscore_uname.patch
+Patch35: vsftpd-2.0.5-uname_size.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 %if %{tcp_wrappers}
@@ -104,6 +105,7 @@
 %patch32 -p1 -b .fix_unique
 %patch33 -p1 -b .userlist_log
 %patch34 -p1 -b .underscore_uname
+%patch35 -p1 -b .uname_size
 
 %build
 %ifarch s390x
@@ -171,6 +173,7 @@
 - Allow usernames to begin with underscore or dot (#339911).
 - Removed user_config patch.
 - Fix nonrootconf patch (#400921).
+- Increase maximum length of allowed username (#236326).
 
 * Thu Nov 08 2007 Martin Nagy <mnagy at redhat.com> - 2.0.5-20
 - Correct calling of pam_end (#235843).




More information about the fedora-extras-commits mailing list