Home | History | Annotate | Download | only in tftp
History log of /src/usr.bin/tftp/main.c
RevisionDateAuthorComments
 1.32  16-Jul-2012  he Undo the non-sharing of the "toplevel" jmp_buf between main.c and tftp.c,
so that we don't get a core dump if a transfer time-out is experienced.
Also, get rid of an extranous newline printed in the case of time-out.
 1.31  20-Mar-2012  matt Use C89 function definitions
 1.30  16-Jan-2012  christos branches: 1.30.2;
PR/45842: Henning Petersen: compare fgets with NULL not 0
 1.29  17-Sep-2011  christos branches: 1.29.2;
ansify, const, knf
 1.28  17-Sep-2011  minskim Add back a line accidentally deleted in the previous commit.
 1.27  16-Sep-2011  joerg Use __dead
 1.26  21-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.25  22-Oct-2006  christos branches: 1.25.18;
use c99 initializer.
 1.24  21-Jul-2006  jmcneill Add support for the multicast TFTP option. Reviewed by Rui Paulo.
 1.23  09-Apr-2006  christos Coverity CID 894: Avoid NULL dereference that cannot really happen.
 1.22  09-Apr-2006  christos Pass lint.
 1.21  31-Jan-2006  christos PR/32680: Yves-Emmanuel JUTARD: Improve some error checking that causes
memory corruption on out of memory errors.
While I am here, remove some lint.
 1.20  20-Nov-2005  ross Fix old-style C code, update to WARNS=4.
Also, move file-scope .c extern decls to the .h file
 1.19  02-Oct-2003  itojun correct arg to setpeer() from main().
 1.18  02-Oct-2003  itojun correct arg handling in setpeer().
 1.17  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.16  12-Jul-2003  itojun strlcpy
 1.15  11-Jun-2003  briggs Support negotiation and use of TFTP Option Extension (rfc 2347) for the
'blksize' option (rfc 2348) and the 'timeout' and 'tsize' options (rfc 2349).

Contributed by Wasabi Systems, Inc.
 1.14  30-Dec-2000  itojun fix argument validation mistake in setpeer().
From: Hiroyuki YAMAMORI <h-yamamo@db3.so-net.ne.jp>
 1.13  21-Nov-2000  itojun make sure we do not overrun peeraddr.
 1.12  12-Jul-1999  itojun branches: 1.12.8;
call freeaddrinfo() after getaddrinfo() to reclaim results.
 1.11  12-Jul-1999  itojun IPv6 support.
clarify a bit (specifically, routines in tftp.c now does not
modify "peeraddr")
 1.10  19-Dec-1998  christos char -> unsigned char
<fcntl.h> instead of <sys/file.h>
compensate for different types in th_stuff
 1.9  20-Oct-1997  lukem deprecate register, use err/warn, fix .Nm usage
 1.8  07-Oct-1997  mrg WARNS?=1
 1.7  07-Sep-1996  explorer Fix some potential buffer overflow problems.
From David Holland <dholland@hcs.harvard.edu>
 1.6  21-May-1995  mycroft Use inet_aton(), not inet_addr().
 1.5  08-Dec-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.4  05-Feb-1994  cgd from: Christoph Robitschko <chmr@edvz.tu-graz.ac.at>
>fixed segmentation fault when connecting to nowhere.
>Also changed all gets() to fgets().
 1.3  01-Aug-1993  mycroft Add RCS identifiers.
 1.2  21-Apr-1993  mycroft Cleanup for GCC 2.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  08-Dec-1994  jtc imported from 4.4lite
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.12.8.4  09-Apr-2004  jmc Patch for tftp/tftpd to work
 1.12.8.3  07-Apr-2004  jmc Pullup rev 1.15-1.19 (requested by itojun in ticket #98)

Pullup to trunk version w. fixes for 'blksize' option and timeout/tsize options
 1.12.8.2  03-Feb-2001  he Pull up revision 1.13 (requested by itojun):
Make sure we do not overrun peeraddr.
 1.12.8.1  25-Jan-2001  jhawk Pull up revision 1.14 (requested by itojun):
Fix argument validation error in setpeer().
 1.25.18.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.29.2.2  30-Oct-2012  yamt sync with head
 1.29.2.1  17-Apr-2012  yamt sync with head
 1.30.2.1  20-Jul-2012  riz Pull up following revision(s) (requested by he in ticket #425):
usr.bin/tftp/main.c: revision 1.32
usr.bin/tftp/tftp.c: revision 1.34
Undo the non-sharing of the "toplevel" jmp_buf between main.c and tftp.c,
so that we don't get a core dump if a transfer time-out is experienced.
Also, get rid of an extranous newline printed in the case of time-out.

RSS XML Feed