Subject: PR/23953 CVS commit: pkgsrc/net/tnftp
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Luke Mewburn <lukem@netbsd.org>
List: netbsd-bugs
Date: 06/10/2005 05:11:02
The following reply was made to PR kern/23953; it has been noted by GNATS.

From: Luke Mewburn <lukem@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/23953 CVS commit: pkgsrc/net/tnftp
Date: Fri, 10 Jun 2005 05:10:03 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	lukem
 Date:		Fri Jun 10 05:10:03 UTC 2005
 
 Modified Files:
 	pkgsrc/net/tnftp: Makefile
 
 Log Message:
 Update to tnftp 20050610.
 Notable changes (see files/ChangeLog for full details):
 * Convert to use getline() instead of fgets() whenever reading user input to
   ensure that an overly long input line doesn't leave excess characters for
   the next input operation to accidentally use as input.
   Should fix PR 23953.
 * Improve method used in fileindir() to determine if `file' is in or under
   `dir': realpath(3) on non-NetBSD systems may fail if the target filename
   doesn't exist, so instead use realpath(3) on the parent directory of `file'.
   (The previous code was over-aggressive in preventing transfers on systems
   with a realpath(3) that had different semantics to NetBSD.)
 * Various portability fixes.
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.14 -r1.15 pkgsrc/net/tnftp/Makefile
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.