From owner-svn-src-head@FreeBSD.ORG Tue Mar 4 01:14:38 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 76999B2C; Tue, 4 Mar 2014 01:14:38 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 63B01B0A; Tue, 4 Mar 2014 01:14:38 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s241Ec1u024338; Tue, 4 Mar 2014 01:14:38 GMT (envelope-from marcel@svn.freebsd.org) Received: (from marcel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s241EcCd024337; Tue, 4 Mar 2014 01:14:38 GMT (envelope-from marcel@svn.freebsd.org) Message-Id: <201403040114.s241EcCd024337@svn.freebsd.org> From: Marcel Moolenaar Date: Tue, 4 Mar 2014 01:14:38 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r262721 - head/usr.bin/tftp X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2014 01:14:38 -0000 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;