Commit Graph

26 Commits

Author SHA1 Message Date
lukem
98e5374ccb Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 14:19:20 +00:00
christos
88bb03c92e use c99 initializer. 2006-10-22 16:44:46 +00:00
jmcneill
22c701ecab Add support for the multicast TFTP option. Reviewed by Rui Paulo. 2006-07-21 17:49:00 +00:00
christos
61894ae043 Coverity CID 894: Avoid NULL dereference that cannot really happen. 2006-04-09 18:47:49 +00:00
christos
9d0203193c Pass lint. 2006-04-09 18:45:19 +00:00
christos
643cfdb62a 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.
2006-01-31 17:36:56 +00:00
ross
b4995580bb Fix old-style C code, update to WARNS=4.
Also, move file-scope .c extern decls to the .h file
2005-11-20 19:28:23 +00:00
itojun
8af6887573 correct arg to setpeer() from main(). 2003-10-02 23:31:52 +00:00
itojun
8cf5cbae01 correct arg handling in setpeer(). 2003-10-02 21:33:05 +00:00
agc
89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
itojun
417386ecc9 strlcpy 2003-07-12 13:38:10 +00:00
briggs
4441128638 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.
2003-06-11 01:43:52 +00:00
itojun
209b37f0e1 fix argument validation mistake in setpeer().
From: Hiroyuki YAMAMORI <h-yamamo@db3.so-net.ne.jp>
2000-12-30 18:00:18 +00:00
itojun
44442755b9 make sure we do not overrun peeraddr. 2000-11-21 14:28:54 +00:00
itojun
9b9f995d4b call freeaddrinfo() after getaddrinfo() to reclaim results. 1999-07-12 20:50:54 +00:00
itojun
a40e2f2822 IPv6 support.
clarify a bit (specifically, routines in tftp.c now does not
modify "peeraddr")
1999-07-12 20:19:20 +00:00
christos
e42e202cfb char -> unsigned char
<fcntl.h> instead of <sys/file.h>
compensate for different types in th_stuff
1998-12-19 22:41:21 +00:00
lukem
0471adfdaa deprecate register, use err/warn, fix .Nm usage 1997-10-20 00:46:37 +00:00
mrg
11eb9f8e06 WARNS?=1 1997-10-07 09:19:40 +00:00
explorer
d3a4eeb1fe Fix some potential buffer overflow problems.
From David Holland <dholland@hcs.harvard.edu>
1996-09-07 21:05:37 +00:00
mycroft
800709ce22 Use inet_aton(), not inet_addr(). 1995-05-21 15:50:45 +00:00
jtc
1bbda10eb1 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-08 09:51:23 +00:00
cgd
65b04c1f17 from: Christoph Robitschko <chmr@edvz.tu-graz.ac.at>
>fixed segmentation fault when connecting to nowhere.
>Also changed all gets() to fgets().
1994-02-05 00:25:55 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft
e3769df787 Cleanup for GCC 2. 1993-04-21 06:00:35 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00