- username buffer increased from 16 to 17 characters, to allow usernames
authorkravietz <kravietz@pld-linux.org>
Tue, 7 Nov 2000 16:57:03 +0000 (16:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  of 16 characters together with terminating NULL
  da7a87dc3a1db2acee039801572c17bc  ftpd-BSD-username.patch

Changed files:
    ftpd-BSD-username.patch -> 1.1
    ftpd-BSD.spec -> 1.25

ftpd-BSD-username.patch [new file with mode: 0644]
ftpd-BSD.spec

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.
index 4442b7d34cebd51ef93484d892656925150f22da..ece41e6b5aa19f9a3a9c7eb748e9bfd29caf187b 100644 (file)
@@ -13,6 +13,7 @@ Source2:      %{name}.pamd
 Source3:       %{name}-ftpusers
 Patch0:                %{name}-anonuser.patch
 Patch1:                %{name}-paths.patch
 Source3:       %{name}-ftpusers
 Patch0:                %{name}-anonuser.patch
 Patch1:                %{name}-paths.patch
+Patch2:                %{name}-username.patch
 Buildrequires: libwrap-devel
 Buildrequires: pam-devel
 Requires:      rc-inetd
 Buildrequires: libwrap-devel
 Buildrequires: pam-devel
 Requires:      rc-inetd
@@ -47,6 +48,7 @@ wersji ftpd to 6.4, za
 %setup -q
 %patch0 -p1
 %patch1 -p1
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch1 -p2
 
 %build
 %{__make} -C ftpd OPT_CFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}"
 
 %build
 %{__make} -C ftpd OPT_CFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}"
This page took 0.029681 seconds and 4 git commands to generate.