Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 2014 01:14:38 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r262721 - head/usr.bin/tftp
Message-ID:  <201403040114.s241EcCd024337@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403040114.s241EcCd024337>