mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
parent
9b8f5ff7b5
commit
f65f3458d5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=255141
2 changed files with 12 additions and 3 deletions
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
PORTNAME= wu-ftpd
|
PORTNAME= wu-ftpd
|
||||||
PORTVERSION= 2.6.2
|
PORTVERSION= 2.6.2
|
||||||
PORTREVISION= 7
|
PORTREVISION= 8
|
||||||
CATEGORIES= ftp
|
CATEGORIES= ftp
|
||||||
MASTER_SITES= ftp://ftp.wu-ftpd.org/pub/wu-ftpd/
|
MASTER_SITES= ftp://ftp.wu-ftpd.org/pub/wu-ftpd/
|
||||||
PATCH_SITES= ftp://ftp.wu-ftpd.org/pub/wu-ftpd/patches/apply_to_2.6.2/
|
PATCH_SITES= ftp://ftp.wu-ftpd.org/pub/wu-ftpd/patches/apply_to_2.6.2/
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
--- src/ftpd.c.orig Tue Apr 5 03:22:01 2005
|
--- src/ftpd.c.orig 2010-05-27 01:19:29.000000000 +0400
|
||||||
+++ src/ftpd.c Tue Apr 5 04:10:13 2005
|
+++ src/ftpd.c 2010-05-27 01:19:56.000000000 +0400
|
||||||
@@ -447,7 +447,6 @@
|
@@ -447,7 +447,6 @@
|
||||||
#ifdef OPIE
|
#ifdef OPIE
|
||||||
#include <opie.h>
|
#include <opie.h>
|
||||||
|
@ -95,6 +95,15 @@
|
||||||
#ifdef VERBOSE_ERROR_LOGING
|
#ifdef VERBOSE_ERROR_LOGING
|
||||||
syslog(LOG_NOTICE, "FTP LOGIN FAILED (cannot chdir) for %s, %s",
|
syslog(LOG_NOTICE, "FTP LOGIN FAILED (cannot chdir) for %s, %s",
|
||||||
remoteident, pw->pw_name);
|
remoteident, pw->pw_name);
|
||||||
|
@@ -3508,7 +3510,7 @@
|
||||||
|
{
|
||||||
|
char *a;
|
||||||
|
a = (char *) malloc(len + 1);
|
||||||
|
- memset(a, ' ', len-1);
|
||||||
|
+ memset(a, ' ', len);
|
||||||
|
a[len] = 0;
|
||||||
|
if (strlen(s) <= len)
|
||||||
|
memcpy(a, s, strlen(s));
|
||||||
@@ -7469,6 +7471,8 @@
|
@@ -7469,6 +7471,8 @@
|
||||||
in++;
|
in++;
|
||||||
if (*in == '/')
|
if (*in == '/')
|
||||||
|
|
Loading…
Add table
Reference in a new issue