1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/sys/netinet
Bruce Evans 9105bb4680 Fixed overflow and sign extension bugs in
`len = min(so->so_snd.sb_cc, win) - off;'.  min() has type u_int
and `off' has type int, so when min() is 0 and `off' is 1, the RHS
overflows to 0U - 1 = UINT_MAX.  `len' has type long, so when
sizeof(long) == sizeof(int), the LHS normally overflows to to the
correct value of -1, but when sizeof(long) > sizeof(int), the LHS
is UINT_MAX.

Fixed some u_long's that should have been fixed-sized types.
1998-07-13 11:53:59 +00:00
..
libalias Add CUSEEME support. This has *not* been tested, nor 1998-06-24 06:58:00 +00:00
fil.c Merge ipfilter 3.2.3 -> 3.2.7 changes onto mainline. 1998-06-20 18:37:51 +00:00
icmp_var.h
if_atm.c Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
if_atm.h Forward declare some structs so that this file is more self-sufficient. 1998-02-03 21:52:02 +00:00
if_ether.c Go through the loopback code with a broom.. 1998-06-12 03:48:19 +00:00
if_ether.h Make INET a proper option. 1998-01-08 23:42:31 +00:00
if_fddi.h
igmp_var.h
igmp.c Last major round (Unless Bruce thinks of somthing :-) of malloc changes. 1997-10-12 20:26:33 +00:00
igmp.h
in_cksum.c
in_hostcache.c Remove a bunch of variables which were unused both in GENERIC and LINT. 1997-11-07 08:53:44 +00:00
in_hostcache.h
in_pcb.c Convert socket structures to be type-stable and add a version number. 1998-05-15 20:11:40 +00:00
in_pcb.h Convert socket structures to be type-stable and add a version number. 1998-05-15 20:11:40 +00:00
in_proto.c Make this compile.. There are some unpleasing hacks in here. 1998-03-21 11:34:28 +00:00
in_rmx.c Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
in_systm.h Declare n_short, n_long and n_time as fixed-sized types. Don't ifdef 1998-07-13 10:54:24 +00:00
in_var.h This commit fixes various 64bit portability problems required for 1998-06-07 17:13:14 +00:00
in.c This commit fixes various 64bit portability problems required for 1998-06-07 17:13:14 +00:00
in.h Support for IPFW based transparent forwarding. 1998-07-06 03:20:19 +00:00
ip_auth.c Merge ipfilter 3.2.3 -> 3.2.7 changes onto mainline. 1998-06-20 18:37:51 +00:00
ip_auth.h Import kernel parts of ipfilter-3.2.1 1997-11-16 05:55:52 +00:00
ip_compat.h Import ipfilter 3.2.7 kernel components 1998-06-20 18:18:05 +00:00
ip_divert.c Bring back some slight cleanups from 2.2 1998-07-06 09:06:58 +00:00
ip_fil.c Merge ipfilter 3.2.3 -> 3.2.7 changes onto mainline. 1998-06-20 18:37:51 +00:00
ip_fil.h Merge ipfilter 3.2.3 -> 3.2.7 changes onto mainline. 1998-06-20 18:37:51 +00:00
ip_flow.c Removed unused includes. 1998-06-21 14:53:44 +00:00
ip_flow.h Move (private) struct ipflow out of ip_var.h, to reduce dependencies 1998-05-19 15:53:50 +00:00
ip_frag.c Make this compile.. There are some unpleasing hacks in here. 1998-03-21 11:34:28 +00:00
ip_frag.h Import ipfilter 3.2.7 kernel components 1998-06-20 18:18:05 +00:00
ip_ftp_pxy.c Merge ipfilter 3.2.3 -> 3.2.7 changes onto mainline. 1998-06-20 18:37:51 +00:00
ip_fw.c Support for IPFW based transparent forwarding. 1998-07-06 03:20:19 +00:00
ip_fw.h Support for IPFW based transparent forwarding. 1998-07-06 03:20:19 +00:00
ip_icmp.c Fixed logic in the test to drop ICMP echo and timestamp packets when 1998-05-26 11:34:30 +00:00
ip_icmp.h Declare id_mask as a fixed-size type. 1998-07-13 11:01:03 +00:00
ip_input.c When not acting as a router (ipforwarding=0), silently discard source 1998-07-08 08:49:51 +00:00
ip_log.c Use read_random() 1998-04-06 11:40:42 +00:00
ip_mroute.c Byte count statistics of multicast vifs are invalid. 1998-06-30 10:56:31 +00:00
ip_mroute.h
ip_nat.c Merge ipfilter 3.2.3 -> 3.2.7 changes onto mainline. 1998-06-20 18:37:51 +00:00
ip_nat.h Import ipfilter 3.2.7 kernel components 1998-06-20 18:18:05 +00:00
ip_output.c Don't expect the new code to be used without the right option file being 1998-07-06 05:04:33 +00:00
ip_proxy.c Merge ipfilter 3.2.3 -> 3.2.7 changes onto mainline. 1998-06-20 18:37:51 +00:00
ip_proxy.h Import kernel parts of ipfilter v3.2.3 1998-03-21 10:11:54 +00:00
ip_state.c Merge ipfilter 3.2.3 -> 3.2.7 changes onto mainline. 1998-06-20 18:37:51 +00:00
ip_state.h Import ipfilter 3.2.7 kernel components 1998-06-20 18:18:05 +00:00
ip_var.h Support for IPFW based transparent forwarding. 1998-07-06 03:20:19 +00:00
ip.h Fixed pedantic semantics errors (bitfields not of type int, signed int 1998-06-07 12:00:13 +00:00
ipl.h Import ipfilter 3.2.7 kernel components 1998-06-20 18:18:05 +00:00
mlf_ipl.c Import ipfilter 3.2.7 kernel components 1998-06-20 18:18:05 +00:00
raw_ip.c Convert socket structures to be type-stable and add a version number. 1998-05-15 20:11:40 +00:00
tcp_debug.c Make INET a proper option. 1998-01-08 23:42:31 +00:00
tcp_debug.h
tcp_fsm.h
tcp_input.c Support for IPFW based transparent forwarding. 1998-07-06 03:20:19 +00:00
tcp_output.c Fixed overflow and sign extension bugs in 1998-07-13 11:53:59 +00:00
tcp_reass.c Support for IPFW based transparent forwarding. 1998-07-06 03:20:19 +00:00
tcp_seq.h
tcp_subr.c Convert socket structures to be type-stable and add a version number. 1998-05-15 20:11:40 +00:00
tcp_timer.c Ensure that TCP_REXMTVAL doesn't return a value less than t_rttmin. This 1998-04-24 09:25:39 +00:00
tcp_timer.h
tcp_timewait.c Convert socket structures to be type-stable and add a version number. 1998-05-15 20:11:40 +00:00
tcp_usrreq.c Improved connection establishment performance by doing local port lookups via 1998-01-27 09:15:13 +00:00
tcp_var.h Declare tcp_seq and tcp_cc as fixed-size types. Half fixed type 1998-07-13 11:09:52 +00:00
tcp.h Declare tcp_seq and tcp_cc as fixed-size types. Half fixed type 1998-07-13 11:09:52 +00:00
tcpip.h
udp_usrreq.c Convert socket structures to be type-stable and add a version number. 1998-05-15 20:11:40 +00:00
udp_var.h Convert socket structures to be type-stable and add a version number. 1998-05-15 20:11:40 +00:00
udp.h