bde d16ff5c400 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
..
1998-02-06 12:14:30 +00:00
1998-01-08 23:42:31 +00:00
1998-06-21 14:53:44 +00:00
1998-04-06 11:40:42 +00:00
1998-06-20 18:18:05 +00:00
1998-01-08 23:42:31 +00:00