svn commit: r262721 - head/usr.bin/tftp
Marcel Moolenaar
marcel at FreeBSD.org
Tue Mar 4 01:14:38 UTC 2014
Author: marcel
Date: Tue Mar 4 01:14:37 2014
New Revision: 262721
URL: http://svnweb.freebsd.org/changeset/base/262721
Log:
Increase MAXLINE to deal with longer paths.
Obtained from: Juniper Networks, Inc.
Modified:
head/usr.bin/tftp/main.c
Modified: head/usr.bin/tftp/main.c
==============================================================================
--- head/usr.bin/tftp/main.c Mon Mar 3 23:30:54 2014 (r262720)
+++ head/usr.bin/tftp/main.c Tue Mar 4 01:14:37 2014 (r262721)
@@ -74,7 +74,7 @@ __FBSDID("$FreeBSD$");
#include "tftp-options.h"
#include "tftp.h"
-#define MAXLINE 200
+#define MAXLINE (2 * MAXPATHLEN)
#define TIMEOUT 5 /* secs between rexmt's */
typedef struct sockaddr_storage peeraddr;
More information about the svn-src-all
mailing list