summaryrefslogtreecommitdiff
path: root/ftp/cftp/files
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-06-27 03:44:48 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-06-27 03:44:48 +0000
commitfba1db00a5f16575f49b29be8a757d8386693e16 (patch)
tree9eb31da4f0e40f9e7b56ef1bd10fc02dfca1564e /ftp/cftp/files
parentFix incomplete format string and bump PORTREVISION (diff)
Correct a string buffer size from 4069 to 4096.
Obtained from: OpenBSD
Notes
Notes: svn path=/head/; revision=83702
Diffstat (limited to 'ftp/cftp/files')
-rw-r--r--ftp/cftp/files/patch-mkbind_c12
1 files changed, 12 insertions, 0 deletions
diff --git a/ftp/cftp/files/patch-mkbind_c b/ftp/cftp/files/patch-mkbind_c
new file mode 100644
index 000000000000..94979ef9a468
--- /dev/null
+++ b/ftp/cftp/files/patch-mkbind_c
@@ -0,0 +1,12 @@
+$OpenBSD: patch-mkbind_c,v 1.1 2003/04/15 15:50:11 avsm Exp $
+--- mkbind.c.orig Tue Apr 15 16:47:09 2003
++++ mkbind.c Tue Apr 15 16:47:24 2003
+@@ -86,7 +86,7 @@ int
+ main(int argc, char **argv)
+ {
+ FILE *fin, *fout;
+- char line[4069], *p, *tok, **args;
++ char line[4096], *p, *tok, **args;
+ char tmp[128];
+ struct binding *b;
+ int i, j, off, argoff, len;