summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-06-05 09:22:41 +0000
committerderaadt <deraadt@openbsd.org>1997-06-05 09:22:41 +0000
commit507171f0ae2854a155db46e61d7a3d35bc66bd4d (patch)
tree21a2efcae2d7c7020076798b228458a578b6e661
parentfix sendmsg() credential passing on 64 bit machines, i hope. (this was hellish) (diff)
downloadwireguard-openbsd-507171f0ae2854a155db46e61d7a3d35bc66bd4d.tar.xz
wireguard-openbsd-507171f0ae2854a155db46e61d7a3d35bc66bd4d.zip
bigger buf
-rw-r--r--libexec/ftpd/ftpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index bff8a846062..35d2eebee5f 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ftpd.c,v 1.36 1997/06/01 06:40:34 downsj Exp $ */
+/* $OpenBSD: ftpd.c,v 1.37 1997/06/05 09:22:41 deraadt Exp $ */
/* $NetBSD: ftpd.c,v 1.15 1995/06/03 22:46:47 mycroft Exp $ */
/*
@@ -2065,7 +2065,7 @@ logxfer(name, size, start)
off_t size;
time_t start;
{
- char buf[2048];
+ char buf[400 + MAXHOSTNAMELEN*4 + MAXPATHLEN*4];
char path[MAXPATHLEN];
char vremotehost[MAXHOSTNAMELEN*4], vpath[MAXPATHLEN*4];
char *vname, *vpw;